diff options
author | SravanKumarGunda <sravan.kumar1@huawei.com> | 2020-07-14 14:55:47 +0530 |
---|---|---|
committer | SravanKumarGunda <sravan.kumar1@huawei.com> | 2020-07-14 19:22:59 +0530 |
commit | 9a08d687e48312beef47bce357d374ede2ce0dc7 (patch) | |
tree | 3717d377dd4ea90f4e88c28d52bb3c0d5d28f34c /validate | |
parent | 5f23e02caa5ab128a4c01866dec91eaea8dc7cee (diff) |
Code Improvements
Signed-off-by: SravanKumarGunda <sravan.kumar1@huawei.com>
Issue-ID: CLI-270
Change-Id: I3de621dab68f153c16a36102239b095c60abf9ab
Diffstat (limited to 'validate')
-rw-r--r-- | validate/sample-yaml-generator/src/main/java/org/onap/cli/sample/yaml/SampleYamlGenerator.java | 2 | ||||
-rw-r--r-- | validate/validation/src/test/java/org/onap/cli/validation/OnapValidationTest.java | 2 |
2 files changed, 2 insertions, 2 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 48ae7db4..3436a50f 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 @@ -55,7 +55,7 @@ public class SampleYamlGenerator { writer.close(); } - private static void writeMultilineKeyValue(PrintWriter writer, String key, String value, boolean debug) { + private static void writeMultilineKeyValue(PrintWriter writer, String key, String value, boolean debug) { //NOSONAR writer.write(printTabs() + key + ":"); if (value.isEmpty()) { return; diff --git a/validate/validation/src/test/java/org/onap/cli/validation/OnapValidationTest.java b/validate/validation/src/test/java/org/onap/cli/validation/OnapValidationTest.java index 9c46de86..d24fe1e7 100644 --- a/validate/validation/src/test/java/org/onap/cli/validation/OnapValidationTest.java +++ b/validate/validation/src/test/java/org/onap/cli/validation/OnapValidationTest.java @@ -95,7 +95,7 @@ public class OnapValidationTest { Date end = new Date(); System.out.println("[ Total time " + (end.getTime() - start.getTime()) + " ms ]\n"); try { - Thread.sleep(2000); + Thread.sleep(2000); //NOSONAR } catch (InterruptedException e) { System.out.println(new Date()); } |