diff options
author | 2022-05-23 04:17:58 +0000 | |
---|---|---|
committer | 2022-05-23 04:17:58 +0000 | |
commit | 2f5ba183535ae6a5b791a45c389675b169fd8d15 (patch) | |
tree | 17cf01768e02b87b8fdd133ee5a5475d1cd1ffc0 /profiles | |
parent | 56943fcc3c3c22005590756ffb262c8e830e8951 (diff) | |
parent | f3bea1cd0fd251b1d8b4bfde0ec8d88a486df9de (diff) |
Merge "Sonar violation fixes for Parameterized tests and Lambda Expressions"
Diffstat (limited to 'profiles')
-rw-r--r-- | profiles/robot/src/main/java/org/onap/cli/fw/robot/schema/OnapCommandSchemaRobotLoader.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/profiles/robot/src/main/java/org/onap/cli/fw/robot/schema/OnapCommandSchemaRobotLoader.java b/profiles/robot/src/main/java/org/onap/cli/fw/robot/schema/OnapCommandSchemaRobotLoader.java index 3b75b504..b8e934cd 100644 --- a/profiles/robot/src/main/java/org/onap/cli/fw/robot/schema/OnapCommandSchemaRobotLoader.java +++ b/profiles/robot/src/main/java/org/onap/cli/fw/robot/schema/OnapCommandSchemaRobotLoader.java @@ -92,7 +92,7 @@ public class OnapCommandSchemaRobotLoader { case OnapCommandCmdConstants.SUCCESS_EXIT_CODE: List<String> list = (ArrayList) valMap.get(key1); - robot.setSuccessStatusCodes(list.stream().map(s -> Integer.parseInt(s)).collect(Collectors.toList())); + robot.setSuccessStatusCodes(list.stream().map(Integer::parseInt).collect(Collectors.toList())); break; case OnapCommandCmdConstants.PASS_CODE: |