File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/main/java/org/seedstack/coffig/node Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -190,7 +190,7 @@ public String toMappedString(ConfigurationMapper mapper) {
190190 }
191191 }).collect (joining ("\n " ));
192192 } else {
193- return children .stream ().map (item -> "-\n " + indent (item .toString ( ))).collect (joining ("\n " ));
193+ return children .stream ().map (item -> "-\n " + indent (item .toMappedString ( mapper ))).collect (joining ("\n " ));
194194 }
195195 }
196196
Original file line number Diff line number Diff line change @@ -183,7 +183,7 @@ public String toMappedString(ConfigurationMapper mapper) {
183183 return entry .getKey () + ": " + entry .getValue ().toString ();
184184 }
185185 } else {
186- return entry .getKey () + ":\n " + indent (entry .getValue ().toString ( ));
186+ return entry .getKey () + ":\n " + indent (entry .getValue ().toMappedString ( mapper ));
187187 }
188188 }).collect (Collectors .joining ("\n " ));
189189 }
You can’t perform that action at this time.
0 commit comments