swamirishi commented on code in PR #9356:
URL: https://github.com/apache/ozone/pull/9356#discussion_r2556265114
##########
hadoop-ozone/common/src/main/java/org/apache/hadoop/ozone/om/helpers/OmMultipartKeyInfo.java:
##########
@@ -293,18 +293,18 @@ public Builder setUpdateID(long id) {
return this;
}
- @Override
- public Builder withUpdateID(long newValue) {
- super.withUpdateID(newValue);
- return this;
- }
-
public Builder setParentID(long parentObjId) {
this.parentID = parentObjId;
return this;
}
public OmMultipartKeyInfo build() {
+ validate();
Review Comment:
We can use this
https://github.com/apache/ozone/pull/9356#discussion_r2556149123?
##########
hadoop-ozone/common/src/main/java/org/apache/hadoop/ozone/om/helpers/OmMultipartKeyInfo.java:
##########
@@ -293,18 +293,18 @@ public Builder setUpdateID(long id) {
return this;
}
- @Override
- public Builder withUpdateID(long newValue) {
- super.withUpdateID(newValue);
- return this;
- }
-
public Builder setParentID(long parentObjId) {
this.parentID = parentObjId;
return this;
}
public OmMultipartKeyInfo build() {
+ validate();
Review Comment:
can we use this
https://github.com/apache/ozone/pull/9356#discussion_r2556149123?
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]