summaryrefslogtreecommitdiffstats
path: root/model
diff options
context:
space:
mode:
authorArtem Naluzhnyy <A.Naluzhnyy@samsung.com>2019-08-08 11:32:53 +0200
committerArtem Naluzhnyy <A.Naluzhnyy@samsung.com>2019-08-08 11:32:53 +0200
commite63f159ca63bf929e76d2258fe2d2ba918e93a99 (patch)
tree8f4e2f09541bee2c5b9450a384c68a58fe020394 /model
parentd7a0af78ec30aee100043816d382bb27eeb700e5 (diff)
Fix copy&paste typo in KeyedMapDifference
Coverity-scan: CID-229696 Issue-ID: POLICY-1961 Signed-off-by: Artem Naluzhnyy <A.Naluzhnyy@samsung.com> Change-Id: I4ed17eb14310501cb5de864e8c62839a4d41b56c
Diffstat (limited to 'model')
-rw-r--r--model/utilities/src/main/java/org/onap/policy/apex/model/utilities/comparison/KeyedMapDifference.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/model/utilities/src/main/java/org/onap/policy/apex/model/utilities/comparison/KeyedMapDifference.java b/model/utilities/src/main/java/org/onap/policy/apex/model/utilities/comparison/KeyedMapDifference.java
index a7022d84d..91c523ed1 100644
--- a/model/utilities/src/main/java/org/onap/policy/apex/model/utilities/comparison/KeyedMapDifference.java
+++ b/model/utilities/src/main/java/org/onap/policy/apex/model/utilities/comparison/KeyedMapDifference.java
@@ -102,7 +102,7 @@ public class KeyedMapDifference<K, V> {
builder.append(getInOneSideOnlyAsString(leftOnly, "left", keysOnly));
}
- if (leftOnly.isEmpty()) {
+ if (rightOnly.isEmpty()) {
if (!diffsOnly) {
builder.append("*** all right keys in left\n");
}