Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit faa922d

Browse files
committed
STR-3972: Fixed tests and CI/CD
1 parent 216e8e7 commit faa922d

File tree

5 files changed

+25
-12
lines changed

5 files changed

+25
-12
lines changed

‎.gitmodules‎

Lines changed: 0 additions & 4 deletions
This file was deleted.

‎Makefile‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ SHELL = bash
44
VERSION := $(shell mvn org.apache.maven.plugins:maven-help-plugin:3.1.0:evaluate -Dexpression=project.version -q -DforceStdout)
55
COMMIT := $(shell git rev-parse --short HEAD)
66
BRANCH := $(shell git rev-parse --abbrev-ref HEAD)
7-
DATE := $(shell date --rfc-3339=seconds)
7+
#DATE := $(shell date --rfc-3339=seconds)
8+
DATE := $(shell date "+%Y-%m-%d %H:%M:%S%z" | sed -E 's/([0-9]{2})([0-9]{2})$$/1円:2円/')
9+
10+
811

912
REPOSITORY = streamthoughts
1013
IMAGE = kafka-connect-file-pulse
@@ -40,6 +43,7 @@ print-info:
4043
echo "GIT_COMMIT="$(COMMIT);
4144
echo "GIT_BRANCH="$(BRANCH);
4245
echo "MVN_PROFILE="$$MVN_PROFILE;
46+
echo "DATE="$(DATE);
4347
echo -e "\n==========================================\n";
4448

4549
build-dist: print-info

‎connect-file-pulse-expression/src/main/java/io/streamthoughts/kafka/connect/filepulse/expression/parser/antlr4/ScELLexer.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
import org.antlr.v4.runtime.dfa.DFA;
1313
import org.antlr.v4.runtime.misc.*;
1414

15-
@SuppressWarnings({"all", "warnings", "unchecked", "unused", "cast"})
15+
@SuppressWarnings({"all", "warnings", "unchecked", "unused", "cast", "CheckReturnValue", "this-escape"})
1616
public class ScELLexer extends Lexer {
17-
static { RuntimeMetaData.checkVersion("4.10.1", RuntimeMetaData.VERSION); }
17+
static { RuntimeMetaData.checkVersion("4.13.2", RuntimeMetaData.VERSION); }
1818

1919
protected static final DFA[] _decisionToDFA;
2020
protected static final PredictionContextCache _sharedContextCache =

‎connect-file-pulse-expression/src/main/java/io/streamthoughts/kafka/connect/filepulse/expression/parser/antlr4/ScELParser.java‎

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@
3232
import org.antlr.v4.runtime.misc.*;
3333
import org.antlr.v4.runtime.tree.*;
3434

35-
@SuppressWarnings({"all", "warnings", "unchecked", "unused", "cast"})
35+
@SuppressWarnings({"all", "warnings", "unchecked", "unused", "cast", "CheckReturnValue", "this-escape"})
3636
public class ScELParser extends Parser {
37-
static { RuntimeMetaData.checkVersion("4.10.1", RuntimeMetaData.VERSION); }
37+
static { RuntimeMetaData.checkVersion("4.13.2", RuntimeMetaData.VERSION); }
3838

3939
protected static final DFA[] _decisionToDFA;
4040
protected static final PredictionContextCache _sharedContextCache =
@@ -127,6 +127,7 @@ public ScELParser(TokenStream input) {
127127
_interp = new ParserATNSimulator(this,_ATN,_decisionToDFA,_sharedContextCache);
128128
}
129129

130+
@SuppressWarnings("CheckReturnValue")
130131
public static class ScelContext extends ParserRuleContext {
131132
public TerminalNode EOF() { return getToken(ScELParser.EOF, 0); }
132133
public PropertyDeclarationContext propertyDeclaration() {
@@ -200,6 +201,7 @@ public final ScelContext scel() throws RecognitionException {
200201
return _localctx;
201202
}
202203

204+
@SuppressWarnings("CheckReturnValue")
203205
public static class SubstitutionExpressionContext extends ParserRuleContext {
204206
public List<SubstitutionStrContentContext> substitutionStrContent() {
205207
return getRuleContexts(SubstitutionStrContentContext.class);
@@ -237,7 +239,7 @@ public final SubstitutionExpressionContext substitutionExpression() throws Recog
237239
setState(35);
238240
_errHandler.sync(this);
239241
_la = _input.LA(1);
240-
while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << LineStrText) | (1L << LineStrEscapedChar) | (1L << LineSubstExprStart))) != 0)) {
242+
while ((((_la) & ~0x3f) == 0 && ((1L << _la) & 917504L) != 0)) {
241243
{
242244
setState(33);
243245
_errHandler.sync(this);
@@ -276,6 +278,7 @@ public final SubstitutionExpressionContext substitutionExpression() throws Recog
276278
return _localctx;
277279
}
278280

281+
@SuppressWarnings("CheckReturnValue")
279282
public static class SubstitutionStrContentContext extends ParserRuleContext {
280283
public TerminalNode LineStrText() { return getToken(ScELParser.LineStrText, 0); }
281284
public TerminalNode LineStrEscapedChar() { return getToken(ScELParser.LineStrEscapedChar, 0); }
@@ -323,6 +326,7 @@ public final SubstitutionStrContentContext substitutionStrContent() throws Recog
323326
return _localctx;
324327
}
325328

329+
@SuppressWarnings("CheckReturnValue")
326330
public static class SubstitutionStrExpressionContext extends ParserRuleContext {
327331
public TerminalNode LineSubstExprStart() { return getToken(ScELParser.LineSubstExprStart, 0); }
328332
public TerminalNode LineSubstExprEnd() { return getToken(ScELParser.LineSubstExprEnd, 0); }
@@ -389,7 +393,7 @@ public final SubstitutionStrExpressionContext substitutionStrExpression() throws
389393
setState(45);
390394
_errHandler.sync(this);
391395
_la = _input.LA(1);
392-
} while ( (((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << Literal) | (1L << PropertyExprStart) | (1L << Identifier))) != 0) );
396+
} while ( (((_la) & ~0x3f) == 0 && ((1L << _la) & 9437186L) != 0) );
393397
setState(47);
394398
match(LineSubstExprEnd);
395399
}
@@ -405,6 +409,7 @@ public final SubstitutionStrExpressionContext substitutionStrExpression() throws
405409
return _localctx;
406410
}
407411

412+
@SuppressWarnings("CheckReturnValue")
408413
public static class ExpressionContext extends ParserRuleContext {
409414
public PropertyDeclarationContext propertyDeclaration() {
410415
return getRuleContext(PropertyDeclarationContext.class,0);
@@ -462,6 +467,7 @@ public final ExpressionContext expression() throws RecognitionException {
462467
return _localctx;
463468
}
464469

470+
@SuppressWarnings("CheckReturnValue")
465471
public static class PropertyDeclarationContext extends ParserRuleContext {
466472
public TerminalNode PropertyExprStart() { return getToken(ScELParser.PropertyExprStart, 0); }
467473
public ScopeContext scope() {
@@ -538,6 +544,7 @@ public final PropertyDeclarationContext propertyDeclaration() throws Recognition
538544
return _localctx;
539545
}
540546

547+
@SuppressWarnings("CheckReturnValue")
541548
public static class ScopeContext extends ParserRuleContext {
542549
public TerminalNode Identifier() { return getToken(ScELParser.Identifier, 0); }
543550
public ScopeContext(ParserRuleContext parent, int invokingState) {
@@ -575,6 +582,7 @@ public final ScopeContext scope() throws RecognitionException {
575582
return _localctx;
576583
}
577584

585+
@SuppressWarnings("CheckReturnValue")
578586
public static class AttributeContext extends ParserRuleContext {
579587
public List<TerminalNode> Identifier() { return getTokens(ScELParser.Identifier); }
580588
public TerminalNode Identifier(int i) {
@@ -638,6 +646,7 @@ public final AttributeContext attribute() throws RecognitionException {
638646
return _localctx;
639647
}
640648

649+
@SuppressWarnings("CheckReturnValue")
641650
public static class FunctionDeclarationContext extends ParserRuleContext {
642651
public TerminalNode Identifier() { return getToken(ScELParser.Identifier, 0); }
643652
public FunctionParametersContext functionParameters() {
@@ -680,6 +689,7 @@ public final FunctionDeclarationContext functionDeclaration() throws Recognition
680689
return _localctx;
681690
}
682691

692+
@SuppressWarnings("CheckReturnValue")
683693
public static class FunctionParametersContext extends ParserRuleContext {
684694
public TerminalNode LPAREN() { return getToken(ScELParser.LPAREN, 0); }
685695
public TerminalNode RPAREN() { return getToken(ScELParser.RPAREN, 0); }
@@ -720,7 +730,7 @@ public final FunctionParametersContext functionParameters() throws RecognitionEx
720730
setState(88);
721731
_errHandler.sync(this);
722732
_la = _input.LA(1);
723-
while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << Literal) | (1L << PropertyExprStart) | (1L << Identifier))) != 0)) {
733+
while ((((_la) & ~0x3f) == 0 && ((1L << _la) & 9437186L) != 0)) {
724734
{
725735
{
726736
setState(78);
@@ -764,6 +774,7 @@ public final FunctionParametersContext functionParameters() throws RecognitionEx
764774
return _localctx;
765775
}
766776

777+
@SuppressWarnings("CheckReturnValue")
767778
public static class FunctionObjectParameterContext extends ParserRuleContext {
768779
public ExpressionContext expression() {
769780
return getRuleContext(ExpressionContext.class,0);
@@ -822,6 +833,7 @@ public final FunctionObjectParameterContext functionObjectParameter() throws Rec
822833
return _localctx;
823834
}
824835

836+
@SuppressWarnings("CheckReturnValue")
825837
public static class ValueContext extends ParserRuleContext {
826838
public TerminalNode Literal() { return getToken(ScELParser.Literal, 0); }
827839
public ValueContext(ParserRuleContext parent, int invokingState) {

‎connect-file-pulse-expression/src/main/java/io/streamthoughts/kafka/connect/filepulse/expression/parser/antlr4/ScELParserBaseListener.java‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
* which can be extended to create a listener which only needs to handle a subset
3636
* of the available methods.
3737
*/
38+
@SuppressWarnings("CheckReturnValue")
3839
public class ScELParserBaseListener implements ScELParserListener {
3940
/**
4041
* {@inheritDoc}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /