[jOOQ/jOOQ#8669] XJC generated toString() methods produce empty list elements
This commit is contained in:
parent
7cf30c87dd
commit
78c096b98b
@ -91,7 +91,7 @@ public final class XMLBuilder {
|
||||
}
|
||||
|
||||
public XMLBuilder append(String wrappingElementName, String elementName, List<?> list) {
|
||||
if (list != null) {
|
||||
if (list != null && !list.isEmpty()) {
|
||||
openTag(wrappingElementName).newLine().indent();
|
||||
for (Object o : list) {
|
||||
if (o instanceof XMLAppendable x)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user