prashantpogde commented on a change in pull request #3051:
URL: https://github.com/apache/ozone/pull/3051#discussion_r809510362



##########
File path: 
hadoop-ozone/common/src/main/java/org/apache/hadoop/ozone/om/helpers/OmDBTenantInfo.java
##########
@@ -20,10 +20,12 @@
 import com.google.common.base.Preconditions;
 import org.apache.hadoop.hdds.StringUtils;
 
+import java.util.Objects;
+
 /**
  * This class is used for storing Ozone tenant info.
  */
-public final class OmDBTenantInfo {
+public final class OmDBTenantInfo implements Comparable<OmDBTenantInfo> {

Review comment:
       Could this be hashset instead ?




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

Reply via email to