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

Commit ed748966 authored by Chih-Hung Hsieh's avatar Chih-Hung Hsieh
Browse files

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
parent 9f7a4202
Loading
Loading
Loading
Loading
+715 −690

File changed.

Preview size limit exceeded, changes collapsed.

+2 −0
Original line number Diff line number Diff line
@@ -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"]),