Remove unused code
Change-Id: I4f31141272facb092a18ffa28e582523c3eeef88 Test: atest ArrayUtilsTest
This commit is contained in:
@@ -335,18 +335,12 @@ public class ArrayUtils {
|
||||
}
|
||||
|
||||
int totalLength = 0;
|
||||
int maxLength = 0;
|
||||
T[] maxLengthArray = arrays[0];
|
||||
for (T[] item : arrays) {
|
||||
if (item == null) {
|
||||
continue;
|
||||
}
|
||||
|
||||
totalLength += item.length;
|
||||
if (item.length > maxLength) {
|
||||
maxLengthArray = item;
|
||||
maxLength = item.length;
|
||||
}
|
||||
}
|
||||
|
||||
// Optimization for entirely empty arrays.
|
||||
|
||||
Reference in New Issue
Block a user