aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSébastien Determe <sd378r@intl.att.com>2018-04-12 10:36:18 +0000
committerGerrit Code Review <gerrit@onap.org>2018-04-12 10:36:18 +0000
commit752400622f740f7375543b03d30d2e134639ce87 (patch)
tree7f04732b74705e96e9d9ada295e2dda467ac6d3e
parent726c217392403fb12f99ae2b2f3818135b046b4e (diff)
parent9a8afe2c9c68dc463222ef26577a8ca51fcea283 (diff)
Merge "Remove the nosonar"
-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 ae8b6d82b..f4fe70652 100644
--- a/src/main/java/org/onap/clamp/clds/Application.java
+++ b/src/main/java/org/onap/clamp/clds/Application.java
@@ -85,7 +85,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);
}
/**