Skip to content

Commit 2109048

Browse files
author
Vladimir Kotal
committed
use List.copyOf() to return results
1 parent 81a5d57 commit 2109048

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opengrok-indexer/src/main/java/org/opengrok/indexer/history/BoundaryChangesets.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public synchronized List<String> getBoundaryChangesetIDs(String sinceRevision) t
8282
String.format("done getting boundary changesets for ''%s'' (%d entries)",
8383
repository.getDirectoryName(), result.size()));
8484

85-
return result;
85+
return List.copyOf(result);
8686
}
8787

8888
private void visit(String id) {

0 commit comments

Comments
 (0)