Files
brave-core/android/java
Artem Samoilenko 0162d55ab1 [Android] Fixes for new lint warnings
There were added new lint checks in C131. This commit fixes the following warnings:
warning: [UnnecessaryParentheses] These grouping parentheses are unnecessary; it is unlikely the code will be misinterpreted without them
warning: [OperatorPrecedence] Use grouping parenthesis to make the operator precedence explicit
warning: [NarrowCalculation] This product of integers could overflow before being implicitly cast to a long
warning: [NarrowCalculation] This division will discard the fractional part of the result, despite being assigned to a float
warning: [ImmutableEnumChecker] enums should be immutable
warning: [Finalize] Do not override finalize
warning: [DoubleBraceInitialization] Prefer collection factory methods or builders to the double-brace initialization pattern
warning: [UnusedTypeParameter] This type parameter is unused and can be removed
warning: [UnnecessaryStringBuilder] Prefer string concatenation over explicitly using `StringBuilder#append`, since `+` reads better and has equivalent or better performance
2024-10-24 12:14:31 +01:00
..