Skip to content

Commit 5629f53

Browse files
committed
[refactor] Small optimisation
1 parent 128e2c1 commit 5629f53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exist-core/src/main/java/org/exist/storage/NativeBroker.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -695,7 +695,7 @@ private XmldbURI prepend(final XmldbURI uri) {
695695
if (uri.startsWith(XmldbURI.ROOT_COLLECTION_URI)) {
696696
return uri;
697697
}
698-
return uri.prepend(XmldbURI.ROOT_COLLECTION_URI);
698+
return XmldbURI.ROOT_COLLECTION_URI.append(uri);
699699
}
700700

701701
/**

0 commit comments

Comments
 (0)