File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/rule Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ public String getWriteableName() {
7575 @ Override
7676 public boolean equals (Object obj ) {
7777 if (this == obj ) return true ;
78- if (! (obj instanceof TestNode )) return false ;
78+ if ((obj instanceof TestNode ) == false ) return false ;
7979 TestNode other = (TestNode ) obj ;
8080 return value .equals (other .value ) && children .equals (other .children );
8181 }
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ public class ParameterizedRuleExecutorTests extends AbstractRuleTestCase {
2121 static class TestParameterizedRuleExecutor extends ParameterizedRuleExecutor <TestNode , String > {
2222 public List <RuleExecutor .Batch <TestNode >> batches = new ArrayList <>();
2323
24- public TestParameterizedRuleExecutor (String context ) {
24+ TestParameterizedRuleExecutor (String context ) {
2525 super (context );
2626 }
2727
@@ -34,7 +34,7 @@ public List<RuleExecutor.Batch<TestNode>> batches() {
3434 static class TestContextParameterizedRuleExecutor extends ParameterizedRuleExecutor <TestNode , TestContext > {
3535 public List <RuleExecutor .Batch <TestNode >> batches = new ArrayList <>();
3636
37- public TestContextParameterizedRuleExecutor (TestContext context ) {
37+ TestContextParameterizedRuleExecutor (TestContext context ) {
3838 super (context );
3939 }
4040
You can’t perform that action at this time.
0 commit comments