Add new Java/Kotlin/Make warning patterns
Test: warn.py --url=http://cs/android --separator='?l=' build.log > warnings.html Test: warn.py --gencsv build.log > warnings.csv Change-Id: I3195999d60f268f105ead022c193319de4af4e64
This commit is contained in:
@@ -461,12 +461,15 @@ warn_patterns = [
|
||||
[r".*: warning: \[WaitNotInLoop\] .+"]),
|
||||
java_medium('A wakelock acquired with a timeout may be released by the system before calling `release`, even after checking `isHeld()`. If so, it will throw a RuntimeException. Please wrap in a try/catch block.',
|
||||
[r".*: warning: \[WakelockReleasedDangerously\] .+"]),
|
||||
java_medium_type('AbstractInner'),
|
||||
java_medium_type('CallbackName'),
|
||||
java_medium_type('ExecutorRegistration'),
|
||||
java_medium_type('ListenerLast'),
|
||||
java_medium_type('MissingBuildMethod'),
|
||||
java_medium_type('NoByteOrShort'),
|
||||
java_medium_type('OverlappingConstants'),
|
||||
java_medium_type('SetterReturnsThis'),
|
||||
java_medium_type('Typo'),
|
||||
java_medium_type('UseIcu'),
|
||||
java_high('AndroidInjection.inject() should always be invoked before calling super.lifecycleMethod()',
|
||||
[r".*: warning: \[AndroidInjectionBeforeSuper\] .+"]),
|
||||
|
Reference in New Issue
Block a user