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

Commit 224b4c76 authored by Eugene Susla's avatar Eugene Susla Committed by Android (Google) Code Review
Browse files

Merge "[DO NOT MERGE] Don't throw from PooledLambdaImpl#toString" into qt-dev

parents bf0e0a04 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";
            }
        }