David Pursehouse
72ae089206
Fix NarrowingCompoundAssignment warnings from Error Prone
Error Prone reports: [NarrowingCompoundAssignment] Compound assignments from long to int hide lossy casts and [NarrowingCompoundAssignment] Compound assignments from int to byte hide lossy casts See https://errorprone.info/bugpattern/NarrowingCompoundAssignment Fix the warnings by adding explicit casts or changing types as necessary. Now that all occurrences of the warning are fixed, increase its severity to ERROR. Change-Id: Idb3670e6047b146ae37daee07212ff9455512623 Signed-off-by: David Pursehouse <david.pursehouse@gmail.com> |
před 5 roky | |
---|---|---|
.. | ||
CherryPickTest.java | Remove 'final' in parameter lists | před 6 roky |
CrissCrossMergeTest.java | Deprecate Constants.CHARSET in favor of StandardCharsets.UTF_8 | před 5 roky |
MergeAlgorithmTest.java | MergeFormatter{Pass}: Use Charset instead of String | před 5 roky |
MergeMessageFormatterTest.java | Organize imports | před 7 roky |
MergerTest.java | Fix NarrowingCompoundAssignment warnings from Error Prone | před 4 roky |
SimpleMergeTest.java | Remove 'final' in parameter lists | před 6 roky |
SquashMessageFormatterTest.java | SquashMessageFormatterTest: Open git in try-with-resource | před 8 roky |