Restore Utils.appendArray()
This utility method was used by the PipelineTest class, and deleting it was causing tests to not compile.
This commit is contained in:
parent
6d9816f1a5
commit
1fb182d951
|
|
@ -388,6 +388,15 @@ public class Utils {
|
|||
return C;
|
||||
}
|
||||
|
||||
/**
|
||||
* Appends String(s) B to array A.
|
||||
* @param A First array.
|
||||
* @param B Strings to append.
|
||||
* @return A with B(s) appended.
|
||||
*/
|
||||
public static String[] appendArray(String[] A, String... B) {
|
||||
return concatArrays(A, B);
|
||||
}
|
||||
|
||||
public static <T extends Comparable<T>> List<T> sorted(Collection<T> c) {
|
||||
return sorted(c, false);
|
||||
|
|
|
|||
Loading…
Reference in New Issue