Migrate from Apache Commons StringUtils#join to Java Platform String#join (#5992)

This commit is contained in:
Basil Crow authored and GitHub committed 2021-12-01 08:50:11 -08:00
1 parent 9fd69f7e34
commit 8ee11e2e30
9 files changed
+12 -16

No files matched your search

+1 -1
View File
@@ -1639,7 +1639,7 @@ public final class FilePath implements SerializableOnlyOverRemoting {
} else {
s = new String[]{prefix, suffix};
}
String name = StringUtils.join(s, ".");
String name = String.join(".", s);
return new FilePath(this, act(new CreateTempDir(name)));
} catch (IOException e) {
throw new IOException("Failed to create a temp directory on "+remote,e);