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:
David Roazen 2013-02-01 01:18:51 -05:00
parent 110f0d4e82
commit 48b08a0172
1 changed files with 9 additions and 0 deletions

View File

@ -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);