Skip to content

Commit

Permalink
Fix toString of ConfigDelayedMerge, the default render() in superclas…
Browse files Browse the repository at this point in the history
…s didn't work

The superclass called unwrapped() to render, which isn't allowed here.
  • Loading branch information
havocp committed Jul 22, 2015
1 parent 1324199 commit aac122a
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,11 @@ protected void render(StringBuilder sb, int indent, boolean atRoot, String atKey
render(stack, sb, indent, atRoot, atKey, options);
}

@Override
protected void render(StringBuilder sb, int indent, boolean atRoot, ConfigRenderOptions options) {
render(sb, indent, atRoot, null, options);
}

// static method also used by ConfigDelayedMergeObject.
static void render(List<AbstractConfigValue> stack, StringBuilder sb, int indent, boolean atRoot, String atKey,
ConfigRenderOptions options) {
Expand Down

0 comments on commit aac122a

Please sign in to comment.