Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 846c219d authored by Al Sutton's avatar Al Sutton Committed by Android (Google) Code Review
Browse files

Merge "Remove unused code"

parents f83521f8 3b4e1e99
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -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.