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

Commit d6e39876 authored by Eugene Susla's avatar Eugene Susla Committed by android-build-merger
Browse files

[DO NOT MERGE] Don't throw from PooledLambdaImpl#toString

am: 75632d61

Change-Id: I17ed8f194b6a197d674f7be1877f2775b2256960
parents 00372429 75632d61
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -637,6 +637,7 @@ final class PooledLambdaImpl<R> extends OmniFunction<Object,
        private static String argCountPrefix(int argCount) {
            switch (argCount) {
                case MASK_ARG_COUNT: return "";
                case 0: return "";
                case 1: return "";
                case 2: return "Bi";
                case 3: return "Tri";
@@ -646,7 +647,7 @@ final class PooledLambdaImpl<R> extends OmniFunction<Object,
                case 7: return "Hept";
                case 8: return "Oct";
                case 9: return "Nona";
                default: throw new IllegalArgumentException("" + argCount);
                default: return "" + argCount + "arg";
            }
        }