summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKanagaraj Manickam <kanagaraj.manickam@huawei.com>2017-10-31 13:33:29 +0000
committerGerrit Code Review <gerrit@onap.org>2017-10-31 13:33:29 +0000
commitcfe46b16e90883f288cbeb1ba4006c0e1d41055b (patch)
tree1f6e99b35b8bbecd78765a78f0607d7846614389
parented712bd8434d3497b0f25134de6ef1b3e47d872e (diff)
parent1283bae1be73937e23c899a05372c6763742b12f (diff)
Merge "Fix yaml generation"
-rw-r--r--validate/sample-yaml-generator/src/main/java/org/onap/cli/sample/yaml/SampleYamlGenerator.java4
1 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 df4c3f6e..5da8ce22 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
@@ -57,10 +57,10 @@ public class SampleYamlGenerator {
if (value.isEmpty()) {
return;
}
- writer.write("|\n");
+ writer.write(" |\n");
nTab++;
String[] lines = value.split("\n");
- long skipLines = debug ? 12 : 0;
+ long skipLines = debug ? 11 : 0;
Arrays.stream(lines).skip(skipLines ).forEach(line -> writer.write(printTabs() + line + "\n")); // NOSONAR
}