Skip to content
Snippets Groups Projects
Commit 74654ffb authored by René Schöne's avatar René Schöne
Browse files

apply suggested fix for #2

parent c10bed0d
No related branches found
No related tags found
No related merge requests found
...@@ -89,7 +89,9 @@ aspect Printing { ...@@ -89,7 +89,9 @@ aspect Printing {
sb.append("\""); sb.append("\"");
} }
sb.append(":"); sb.append(":");
if (getValue().isComplexElement() && !getValue().isEmpty() && !getValue().isCollapsed()) { if (getValue() == null) {
sb.append(" null");
} else if (getValue().isComplexElement() && !getValue().isEmpty() && !getValue().isCollapsed()) {
sb.append("\n"); sb.append("\n");
getValue().prettyPrint(sb, true, indent + PRINT_INDENT); getValue().prettyPrint(sb, true, indent + PRINT_INDENT);
} else { } else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment