NobiGo commented on code in PR #3908:
URL: https://github.com/apache/calcite/pull/3908#discussion_r1714535289


##########
core/src/main/java/org/apache/calcite/plan/hep/HepPlanner.java:
##########
@@ -186,14 +186,14 @@ public HepPlanner(
   }
 
   @Override public RelNode findBestExp() {
-    requireNonNull(root, "root");
+    requireNonNull(root, "'root' must not be null");

Review Comment:
   What is the error message before this PR? I want to know `must not be null` 
it is repetitive with `requireNonNull`? The other places in this project all 
use it like `requireNonNull(root, 'root');`



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