summaryrefslogtreecommitdiffstats
path: root/appc-config/appc-flow-controller/provider
diff options
context:
space:
mode:
authorShubhada Ramkrishna Vaze <SV00449682@TechMahindra.com>2017-09-20 13:19:55 +0530
committerSkip Wonnell <skip@att.com>2017-09-20 13:02:09 +0000
commitb6e1a7e77f59259c0f0a200ebff22ad9fc7940b3 (patch)
tree90977e89d526ec5de0e8365d2aad69d33caf82da /appc-config/appc-flow-controller/provider
parent598e7357e2ef9e12e2aeed6a9e63fd1272b69c12 (diff)
Sonar Blocker
Sonar Blocker for PrecheckOption.java Change-Id: Ic499d7af6c90cd692e8362ba4f7d2f5d65d48471 Issue-ID: APPC-223 Signed-off-by: Shubhada Ramkrishna Vaze <SV00449682@TechMahindra.com>
Diffstat (limited to 'appc-config/appc-flow-controller/provider')
-rw-r--r--appc-config/appc-flow-controller/provider/src/main/java/org/openecomp/appc/flow/controller/data/PrecheckOption.java11
1 files changed, 11 insertions, 0 deletions
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 efa19025a..69431ea96 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 @@ public class PrecheckOption {
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)