AMashenkov commented on code in PR #3350:
URL: https://github.com/apache/ignite-3/pull/3350#discussion_r1515832070
##########
modules/arch-test/src/test/java/org/apache/ignite/internal/SqlEngineModuleArchTest.java:
##########
@@ -48,10 +48,10 @@ public class SqlEngineModuleArchTest {
.should(new ArchCondition<>("override
org.apache.calcite.rel.RelNode.getRelTypeName") {
@Override
public void check(JavaClass javaClass, ConditionEvents
conditionEvents) {
- boolean overrided = javaClass.getMethods().stream()
- .anyMatch(it ->
"getRelTypeName".equals(it.getName()));
+ boolean methodNotImplemented =
javaClass.getMethods().stream()
+ .noneMatch(it ->
"getRelTypeName".equals(it.getName()));
- if (!overrided) {
+ if (methodNotImplemented) {
Review Comment:
If someone will rollback current PR due to any reason, this fix will be lost
as well.
You can left this code in patch/comment to the followup ticket.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]