summaryrefslogtreecommitdiffstats
path: root/mso-catalog-db/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'mso-catalog-db/src/main')
-rw-r--r--mso-catalog-db/src/main/java/org/openecomp/mso/db/catalog/beans/VnfComponent.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/mso-catalog-db/src/main/java/org/openecomp/mso/db/catalog/beans/VnfComponent.java b/mso-catalog-db/src/main/java/org/openecomp/mso/db/catalog/beans/VnfComponent.java
index b0a8c3ee1e..8db4902cd8 100644
--- a/mso-catalog-db/src/main/java/org/openecomp/mso/db/catalog/beans/VnfComponent.java
+++ b/mso-catalog-db/src/main/java/org/openecomp/mso/db/catalog/beans/VnfComponent.java
@@ -109,7 +109,7 @@ public class VnfComponent implements Serializable {
public int hashCode () {
// return the hashCode of the concat string of type+vnfId - should be okay.
int result = 0;
- result = (this.componentType + this.vnfId).toString().hashCode();
+ result = (this.componentType + this.vnfId).hashCode();
return result;
}
}