Remove the nosonar 89/42289/1
authorDeterme, Sebastien (sd378r) <sd378r@intl.att.com>
Wed, 11 Apr 2018 15:28:23 +0000 (17:28 +0200)
committerDeterme, Sebastien (sd378r) <sd378r@intl.att.com>
Wed, 11 Apr 2018 15:28:23 +0000 (17:28 +0200)
Remove the nosonar from the code as Sonar has been updated to version 6

Issue-ID: CLAMP-147
Change-Id: I8c5e9b0e4b3d9a303dfab7a1434cd5f9307d9d05
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
src/main/java/org/onap/clamp/clds/Application.java
src/main/java/org/onap/clamp/clds/service/CldsUser.java

index 9d057b5..3e27e3e 100644 (file)
@@ -83,7 +83,7 @@ public class Application extends SpringBootServletInitializer {
         // This is to initialize some Onap Clamp components
         initializeComponents();
         // Start the Spring application
-        SpringApplication.run(Application.class, args); // NOSONAR
+        SpringApplication.run(Application.class, args);
     }
 
     private static void initializeComponents() {
index fa7a738..36db301 100644 (file)
@@ -29,8 +29,9 @@ import java.util.Arrays;
  * The class represents the CldsUser that can be extracted from cldsusers.json.
  */
 public class CldsUser {
-    private String                    user;
-    private String                    password;
+
+    private String user;
+    private String password;
     private SecureServicePermission[] permissions;
 
     /**
@@ -81,7 +82,7 @@ public class CldsUser {
     }
 
     public String[] getPermissionsString() {
-        return Arrays.stream(getPermissions()).map(SecureServicePermission::getKey).toArray(String[]::new);// NOSONAR
+        return Arrays.stream(getPermissions()).map(SecureServicePermission::getKey).toArray(String[]::new);
     }
 
     /**