aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/org
diff options
context:
space:
mode:
authorDeterme, Sebastien (sd378r) <sd378r@intl.att.com>2018-04-11 17:28:23 +0200
committerDeterme, Sebastien (sd378r) <sd378r@intl.att.com>2018-04-11 17:28:23 +0200
commit9a8afe2c9c68dc463222ef26577a8ca51fcea283 (patch)
treec6c87dd6454bce511e64ce77c9e93d775c2b2d02 /src/main/java/org
parente78f00cd69c9eeb8ad95d5fe15f627b46ab48c0b (diff)
Remove the nosonar
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>
Diffstat (limited to 'src/main/java/org')
-rw-r--r--src/main/java/org/onap/clamp/clds/Application.java2
-rw-r--r--src/main/java/org/onap/clamp/clds/service/CldsUser.java7
2 files changed, 5 insertions, 4 deletions
diff --git a/src/main/java/org/onap/clamp/clds/Application.java b/src/main/java/org/onap/clamp/clds/Application.java
index 9d057b583..3e27e3ec1 100644
--- a/src/main/java/org/onap/clamp/clds/Application.java
+++ b/src/main/java/org/onap/clamp/clds/Application.java
@@ -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() {
diff --git a/src/main/java/org/onap/clamp/clds/service/CldsUser.java b/src/main/java/org/onap/clamp/clds/service/CldsUser.java
index fa7a738dd..36db301cd 100644
--- a/src/main/java/org/onap/clamp/clds/service/CldsUser.java
+++ b/src/main/java/org/onap/clamp/clds/service/CldsUser.java
@@ -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);
}
/**