diff options
author | Kanagaraj Manickam <kanagaraj.manickam@huawei.com> | 2017-10-31 13:33:29 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2017-10-31 13:33:29 +0000 |
commit | cfe46b16e90883f288cbeb1ba4006c0e1d41055b (patch) | |
tree | 1f6e99b35b8bbecd78765a78f0607d7846614389 | |
parent | ed712bd8434d3497b0f25134de6ef1b3e47d872e (diff) | |
parent | 1283bae1be73937e23c899a05372c6763742b12f (diff) |
Merge "Fix yaml generation"
-rw-r--r-- | validate/sample-yaml-generator/src/main/java/org/onap/cli/sample/yaml/SampleYamlGenerator.java | 4 |
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 } |