More Java/Kotlin warning patterns

* Simplify java warning pattern functions.

Test: warn.py --url=http://cs/android --separator='?l=' build.log > warnings.html
Test: warn.py --gencsv build.log > warnings.csv
Change-Id: I837fa9290acded3b936182877d9e0c00de4cdf4f
This commit is contained in:
Chih-Hung Hsieh
2020-02-04 12:12:11 -08:00
parent 9f7a42025d
commit ed74896600
2 changed files with 717 additions and 690 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -124,6 +124,8 @@ warn_patterns = [
[r".*\.kt:.*: warning: unnecessary safe call on a non-null receiver"]),
kotlin('Deprecated in Java',
[r".*\.kt:.*: warning: '.*' is deprecated. Deprecated in Java"]),
kotlin('Replacing Handler for Executor',
[r".*\.kt:.*: warning: .+ Replacing Handler for Executor in "]),
kotlin('library has Kotlin runtime',
[r".*: warning: library has Kotlin runtime bundled into it",
r".*: warning: some JAR files .* have the Kotlin Runtime library"]),