mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-10-26 19:15:09 +00:00
Migrate from Apache Commons StringUtils#join to Java Platform String#join (#5992)
This commit is contained in:
1 parent
9fd69f7e34
commit
8ee11e2e30
9 files changed
+12
-16
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user