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
110f0d4e82
commit
48b08a0172
|
|
@ -388,6 +388,15 @@ public class Utils {
|
||||||
return C;
|
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) {
|
public static <T extends Comparable<T>> List<T> sorted(Collection<T> c) {
|
||||||
return sorted(c, false);
|
return sorted(c, false);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue