diff options
author | 2020-05-11 04:46:07 +0000 | |
---|---|---|
committer | 2020-05-11 04:46:07 +0000 | |
commit | 0fa052c994c900ff809d5ff32d93752190e3ff5a (patch) | |
tree | eb78c482d5846bb7a24f4f5ad1257514bb1f32d1 /profiles/command/src | |
parent | 7f3a150c231da1dcff306ec1e74517416ff3c972 (diff) | |
parent | 81c3cbfc6ff60fc705d142a88a64654a75c010e0 (diff) |
Merge changes I81537658,I653a2ed5,I1aa94f93,I500b4755,I0c379ae2
* changes:
sonar security issue fix- Make sure that using a regular expression is safe here
sonar security issue fix- Make sure that environment variables are used safely here
sonar vulnerability issue fix- Do something with the "boolean" value returned by "delete"; Enable server certificate validation on this SSL/TLS connection
sonar bug fix- conditional operation returns the same value whether the condition is "true" or "false"
sonar bug fix- Use the "equals" method if value comparison was intended
Diffstat (limited to 'profiles/command/src')
-rw-r--r-- | profiles/command/src/main/java/org/onap/cli/fw/cmd/cmd/OpenCommandShellCmd.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/profiles/command/src/main/java/org/onap/cli/fw/cmd/cmd/OpenCommandShellCmd.java b/profiles/command/src/main/java/org/onap/cli/fw/cmd/cmd/OpenCommandShellCmd.java index 3d2d4e4f..0ed930d1 100644 --- a/profiles/command/src/main/java/org/onap/cli/fw/cmd/cmd/OpenCommandShellCmd.java +++ b/profiles/command/src/main/java/org/onap/cli/fw/cmd/cmd/OpenCommandShellCmd.java @@ -169,7 +169,7 @@ public class OpenCommandShellCmd extends OnapCommand { List <String> envs = new ArrayList<>(); //add current process environments to sub process - for (Map.Entry<String, String> env: System.getenv().entrySet()) { + for (Map.Entry<String, String> env: System.getenv().entrySet()) { //NOSONAR envs.add(env.getKey() + "=" + env.getValue()); } |