[DO NOT MERGE] Don't throw from PooledLambdaImpl#toString am: 75632d616d

am: 2fd77c3ce9

Change-Id: Id07bbbdd9b40f7b33c16969de5132b598d9a5d07
This commit is contained in:
Eugene Susla
2019-06-25 14:14:22 -07:00
committed by android-build-merger

View File

@@ -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";
}
}