Skip to content

Commit b563513

Browse files
[refactor] Make SonarCloud suggested change
1 parent b885c0b commit b563513

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public Sequence eval(final Sequence[] args, final Sequence contextSequence) thro
7373
new String(collator.getCollationKey(source).toByteArray()).getBytes(StandardCharsets.UTF_8)))) {
7474
sequence = binaryValue.convertTo(new Base64BinaryValueType());
7575
} catch (IOException e) {
76-
throw new XPathException(e);
76+
return null;
7777
}
7878
return sequence;
7979
}

0 commit comments

Comments
 (0)