Wei-hao-Li commented on code in PR #15253:
URL: https://github.com/apache/iotdb/pull/15253#discussion_r2024271823
##########
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/metadata/ResolvedFunction.java:
##########
@@ -48,10 +47,10 @@ public ResolvedFunction(
boolean deterministic,
FunctionNullability functionNullability) {
this.signature = requireNonNull(signature, "signature is null");
- this.functionId = requireNonNull(functionId, "functionId is null");
- this.functionKind = requireNonNull(functionKind, "functionKind is null");
+ this.functionId = functionId;
+ this.functionKind = functionKind;
this.deterministic = deterministic;
- this.functionNullability = requireNonNull(functionNullability,
"functionNullability is null");
+ this.functionNullability = functionNullability;
Review Comment:
It seems that we don't need to remove requireNonNull.
--
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]