yuqi1129 commented on code in PR #10135:
URL: https://github.com/apache/gravitino/pull/10135#discussion_r2882432118
##########
core/src/main/java/org/apache/gravitino/listener/api/event/AlterFilesetFailureEvent.java:
##########
@@ -45,7 +45,7 @@ public final class AlterFilesetFailureEvent extends
FilesetFailureEvent {
public AlterFilesetFailureEvent(
String user, NameIdentifier identifier, Exception exception,
FilesetChange[] filesetChanges) {
super(user, identifier, exception);
- this.filesetChanges = filesetChanges.clone();
+ this.filesetChanges = filesetChanges == null ? null :
filesetChanges.clone();
Review Comment:
`filesetChanges` could not be null. Please refer to the following code
https://github.com/apache/gravitino/blob/fbffe05e39113c9f21fcc1d55106aeb3e2459107/server/src/main/java/org/apache/gravitino/server/web/rest/FilesetOperations.java#L298-L302
--
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]