Sonar Major 71/11871/4
authorSwapnilPathak <SP00494485@techmahindra.com>
Fri, 15 Sep 2017 06:10:32 +0000 (11:40 +0530)
committerSwapnilPathak <SP00494485@techmahindra.com>
Fri, 15 Sep 2017 06:11:38 +0000 (11:41 +0530)
Remove useless parentheses from CheckPDP.java

Issue-ID: POLICY-224
Change-Id: I8086a6fc1dc24719c3ffd3785a12c086ab453ae7
Signed-off-by: SwapnilPathak <SP00494485@techmahindra.com>
POLICY-SDK-APP/src/main/java/org/onap/policy/admin/CheckPDP.java

index f983c66..87ed1fe 100644 (file)
@@ -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(){