Sonar Major : Remove useless parentheses 13/26613/1
authorAishwarya Singh <AS00476394@TechMahindra.com>
Wed, 20 Dec 2017 08:10:33 +0000 (13:40 +0530)
committeraishkashyap <as00476394@techmahindra.com>
Wed, 20 Dec 2017 08:28:48 +0000 (13:58 +0530)
Remove useless parentheses
Sonar Link :
https://sonar.onap.org/component_issues/index?id=org.onap.aai.resources%3Aresources#severities=MAJOR|assignees=aishkashyap

Location:
src/main/java/org/onap/aai/dbgen/ForceDeleteTool.java
Line No: 242

Change-Id: I1cd33867308152828a2b06d7601f0a835b413fc4
Issue-ID: AAI-570
Signed-off-by: Aishwarya Singh <AS00476394@TechMahindra.com>
aai-resources/src/main/java/org/onap/aai/dbgen/ForceDeleteTool.java

index 518c551..3ea950f 100644 (file)
@@ -239,7 +239,7 @@ public class ForceDeleteTool {
                                        qStringForMsg = qStringForMsg + ".has(" + propName + "," + propVal + ")";
                                }
                        }
-                       if( (g != null)){
+                       if(g != null){
                        Iterator<Vertex> vertItor = g;
                        while( vertItor.hasNext() ){
                                resCount++;