Skip to content

Commit dcd6e59

Browse files
committed
[ignore] cleanup
1 parent 7718b14 commit dcd6e59

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

exist-core/src/main/java/org/exist/xquery/functions/fn/FunSerialize.java

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -156,13 +156,6 @@ public static Sequence normalize(final Expression callingExpr, final XQueryConte
156156
throw new XPathException(callingExpr, FnModule.SENR0001,
157157
"It is an error if an item in the sequence to serialize is an attribute node or a namespace node.");
158158
}
159-
// if (itemType == Type.TEXT || itemType == Type.COMMENT) {
160-
// final StringValue stringRepresentation = new StringValue(callingExpr, next.getStringValue());
161-
// if (stringRepresentation.getStringValue().isEmpty()) {
162-
// continue;
163-
// }
164-
// temp.add(stringRepresentation);
165-
// }
166159
temp.add(next);
167160
} else {
168161
// atomic value
@@ -189,7 +182,7 @@ public static Sequence normalize(final Expression callingExpr, final XQueryConte
189182
final String stringValue = next.getStringValue();
190183
receiver.characters(stringValue);
191184
}
192-
// add itemSeparator if there is a next item and the current item is not an empty string
185+
// add itemSeparator if there is a next item
193186
if (i.hasNext()) {
194187
receiver.characters(itemSeparator);
195188
}

0 commit comments

Comments
 (0)