diff options
author | subhash kumar singh <subhash.kumar.singh@huawei.com> | 2017-10-26 10:39:24 +0000 |
---|---|---|
committer | subhash kumar singh <subhash.kumar.singh@huawei.com> | 2017-10-26 10:39:24 +0000 |
commit | 9d1818327ce7aeb2839fec218c99e5cd89d77b9d (patch) | |
tree | 482a7e91999f942f7a72bff496ce8affbee26ef2 /validate/sample-yaml-generator | |
parent | b0d8aa12fe8f88059f7fcce741913194d72d0d69 (diff) |
Remove sonar warning for stream usage
Remove sonar warning for stream usage.
Change-Id: I673166b4df1dea8e8e99320f8c3dd00495a26d3b
Issue-ID: CLI-55
Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
Diffstat (limited to 'validate/sample-yaml-generator')
-rw-r--r-- | validate/sample-yaml-generator/src/main/java/org/onap/cli/sample/yaml/SampleYamlGenerator.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/validate/sample-yaml-generator/src/main/java/org/onap/cli/sample/yaml/SampleYamlGenerator.java b/validate/sample-yaml-generator/src/main/java/org/onap/cli/sample/yaml/SampleYamlGenerator.java index 5c308154..e18b1d73 100644 --- a/validate/sample-yaml-generator/src/main/java/org/onap/cli/sample/yaml/SampleYamlGenerator.java +++ b/validate/sample-yaml-generator/src/main/java/org/onap/cli/sample/yaml/SampleYamlGenerator.java @@ -56,7 +56,7 @@ public class SampleYamlGenerator { nTab++; String[] lines = value.split("\n"); long skipLines = debug ? 12 : 0; - Arrays.stream(lines).skip(skipLines ).forEach(line -> writer.write(printTabs() + line + "\n")); + Arrays.stream(lines).skip(skipLines ).forEach(line -> writer.write(printTabs() + line + "\n")); // NOSONAR } private static String printTabs() { |