Skip to content

Commit 8df10dc

Browse files
committed
Simplify string join
1 parent 8743f31 commit 8df10dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exist-core/src/main/java/org/exist/repo/Deployment.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ public Optional<String> deploy(final DBBroker broker, final Txn transaction, fin
459459

460460
if (!errors.isEmpty()) {
461461
throw new PackageException("Deployment incomplete, " + errors.size() + " issues found: " +
462-
errors.stream().collect(Collectors.joining("; ")));
462+
String.join("; ", errors));
463463
}
464464
return Optional.ofNullable(targetCollection.getCollectionPath());
465465
}

0 commit comments

Comments
 (0)