summaryrefslogtreecommitdiffstats
path: root/framework/src
diff options
context:
space:
mode:
Diffstat (limited to 'framework/src')
-rw-r--r--framework/src/main/java/org/onap/cli/fw/schema/OnapCommandSchemaInfo.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/framework/src/main/java/org/onap/cli/fw/schema/OnapCommandSchemaInfo.java b/framework/src/main/java/org/onap/cli/fw/schema/OnapCommandSchemaInfo.java
index 8f3df9ae..2cd9458a 100644
--- a/framework/src/main/java/org/onap/cli/fw/schema/OnapCommandSchemaInfo.java
+++ b/framework/src/main/java/org/onap/cli/fw/schema/OnapCommandSchemaInfo.java
@@ -143,5 +143,8 @@ public class OnapCommandSchemaInfo implements Comparable<OnapCommandSchemaInfo>
return this.cmdName.compareTo(o.getCmdName());
}
-
+ @Override
+ public boolean equals(Object obj) {
+ return this.compareTo((OnapCommandSchemaInfo) obj) == 0;
+ }
}