commit | b6e1a7e77f59259c0f0a200ebff22ad9fc7940b3 | [log] [tgz] |
---|---|---|
author | Shubhada Ramkrishna Vaze <SV00449682@TechMahindra.com> | Wed Sep 20 13:19:55 2017 +0530 |
committer | Skip Wonnell <skip@att.com> | Wed Sep 20 13:02:09 2017 +0000 |
tree | 90977e89d526ec5de0e8365d2aad69d33caf82da | |
parent | 598e7357e2ef9e12e2aeed6a9e63fd1272b69c12 [diff] |
Sonar Blocker Sonar Blocker for PrecheckOption.java Change-Id: Ic499d7af6c90cd692e8362ba4f7d2f5d65d48471 Issue-ID: APPC-223 Signed-off-by: Shubhada Ramkrishna Vaze <SV00449682@TechMahindra.com>
diff --git a/appc-config/appc-flow-controller/provider/src/main/java/org/openecomp/appc/flow/controller/data/PrecheckOption.java b/appc-config/appc-flow-controller/provider/src/main/java/org/openecomp/appc/flow/controller/data/PrecheckOption.java index efa1902..69431ea 100644 --- a/appc-config/appc-flow-controller/provider/src/main/java/org/openecomp/appc/flow/controller/data/PrecheckOption.java +++ b/appc-config/appc-flow-controller/provider/src/main/java/org/openecomp/appc/flow/controller/data/PrecheckOption.java
@@ -79,6 +79,17 @@ this.rule = rule; } + @Override + public int hashCode() { + final int prime = 31; + int result = 1; + result = prime * result + this.pTransactionID; + result = prime * result + this.paramName.hashCode(); + result = prime * result + this.paramValue.hashCode(); + result = prime * result + this.rule.hashCode(); + return result; + } + @Override public boolean equals(Object obj) { if (this == obj)