summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rulemgt/src/main/java/org/onap/holmes/rulemgt/tools/EngineTools.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/rulemgt/src/main/java/org/onap/holmes/rulemgt/tools/EngineTools.java b/rulemgt/src/main/java/org/onap/holmes/rulemgt/tools/EngineTools.java
index 4896bde..2711d3b 100644
--- a/rulemgt/src/main/java/org/onap/holmes/rulemgt/tools/EngineTools.java
+++ b/rulemgt/src/main/java/org/onap/holmes/rulemgt/tools/EngineTools.java
@@ -65,7 +65,7 @@ public class EngineTools {
Arrays.sort(numOfRules);
for (String ip : ruleNumInEachEngine.keySet()) {
- if (ruleNumInEachEngine.get(ip) == numOfRules[0]) {
+ if (ruleNumInEachEngine.get(ip).equals(numOfRules[0])) {
return ip;
}
}