mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-13 12:02:20 +00:00
Deprecate Util#join(Collection, String) in favor of String#join(CharSequence, Iterable) (#5467)
This commit is contained in:
1 parent
dd16cbba36
commit
c904989067
15 files changed
+20
-23
No files matched your search
@@ -1160,7 +1160,9 @@ public class Util {
|
||||
|
||||
/**
|
||||
* Concatenate multiple strings by inserting a separator.
|
||||
* @deprecated since TODO; use {@link String#join(CharSequence, Iterable)}
|
||||
*/
|
||||
@Deprecated
|
||||
@NonNull
|
||||
public static String join(@NonNull Collection<?> strings, @NonNull String separator) {
|
||||
StringBuilder buf = new StringBuilder();
|
||||
|
||||
Reference in new issue
Block a user