sarvekshayr commented on code in PR #11116:
URL: https://github.com/apache/ozone/pull/11116#discussion_r3859822070
##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OmMetadataManagerImpl.java:
##########
@@ -1510,9 +1504,10 @@ public ExpiredOpenKeys getExpiredOpenKeys(Duration
expireThreshold,
.setKeyName(openKeyInfo.getKeyName())
.setDataSize(info.getDataSize());
java.util.Optional.ofNullable(info.getLatestVersionLocations())
Review Comment:
nit: Add the import for `Optional` at the top.
```suggestion
Optional.ofNullable(info.getLatestVersionLocations())
```
##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OmMetadataManagerImpl.java:
##########
Review Comment:
Here as well.
--
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]