rpuch commented on a change in pull request #2718:
URL: https://github.com/apache/calcite/pull/2718#discussion_r804866976



##########
File path: core/src/main/java/org/apache/calcite/rel/metadata/MetadataDef.java
##########
@@ -41,7 +42,10 @@ private MetadataDef(Class<M> metadataClass,
     this.handlerClass = handlerClass;
     this.methods = ImmutableList.copyOf(methods);
     final Method[] handlerMethods = 
Arrays.stream(handlerClass.getDeclaredMethods())
-        .filter(m -> !m.getName().equals("getDef")).toArray(i -> new 
Method[i]);
+        .filter(m -> !m.getName().equals("getDef"))

Review comment:
       @jacques-n sure, I'll do it. Thank you guys for your suggestions.




-- 
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]


Reply via email to