diff --git a/tools/check-flagged-apis/src/com/android/checkflaggedapis/Main.kt b/tools/check-flagged-apis/src/com/android/checkflaggedapis/Main.kt index c3a323bb59..0c078a0b93 100644 --- a/tools/check-flagged-apis/src/com/android/checkflaggedapis/Main.kt +++ b/tools/check-flagged-apis/src/com/android/checkflaggedapis/Main.kt @@ -269,7 +269,7 @@ internal fun parseApiVersions(input: InputStream): Set { } val methodSignatureParts = methodSignature.split(Regex("\\(|\\)")) if (methodSignatureParts.size != 3) { - throw Exception("Bad XML: method signature '$methodSignature': debug $methodSignatureParts") + throw Exception("Bad XML: method signature '$methodSignature'") } var (methodName, methodArgs, methodReturnValue) = methodSignatureParts val packageAndClassName =