summaryrefslogtreecommitdiffstats
path: root/POLICY-SDK-APP/src
diff options
context:
space:
mode:
authorSwapnilPathak <SP00494485@techmahindra.com>2017-09-15 11:40:32 +0530
committerSwapnilPathak <SP00494485@techmahindra.com>2017-09-15 11:41:38 +0530
commit274e07a953f07192923193a7b49f2f268b43d994 (patch)
tree4efff0c2ba6328a11fdff0e441598263f7a1b30b /POLICY-SDK-APP/src
parente9e7bef3c130f7525a5ad250f365ee910bebe85a (diff)
Sonar Major
Remove useless parentheses from CheckPDP.java Issue-ID: POLICY-224 Change-Id: I8086a6fc1dc24719c3ffd3785a12c086ab453ae7 Signed-off-by: SwapnilPathak <SP00494485@techmahindra.com>
Diffstat (limited to 'POLICY-SDK-APP/src')
-rw-r--r--POLICY-SDK-APP/src/main/java/org/onap/policy/admin/CheckPDP.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/POLICY-SDK-APP/src/main/java/org/onap/policy/admin/CheckPDP.java b/POLICY-SDK-APP/src/main/java/org/onap/policy/admin/CheckPDP.java
index f983c6650..87ed1fec9 100644
--- a/POLICY-SDK-APP/src/main/java/org/onap/policy/admin/CheckPDP.java
+++ b/POLICY-SDK-APP/src/main/java/org/onap/policy/admin/CheckPDP.java
@@ -61,7 +61,7 @@ public class CheckPDP {
return false;
}
// Check ID
- return (pdpMap.containsKey(id))? true: false;
+ return pdpMap.containsKey(id);
}
private static void readFile(){