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> |
5 lat temu | |
---|---|---|
.. | ||
CherryPickTest.java | Remove 'final' in parameter lists | 6 lat temu |
CrissCrossMergeTest.java | Deprecate Constants.CHARSET in favor of StandardCharsets.UTF_8 | 5 lat temu |
MergeAlgorithmTest.java | MergeFormatter{Pass}: Use Charset instead of String | 5 lat temu |
MergeMessageFormatterTest.java | Organize imports | 7 lat temu |
MergerTest.java | Fix NarrowingCompoundAssignment warnings from Error Prone | 4 lat temu |
SimpleMergeTest.java | Remove 'final' in parameter lists | 6 lat temu |
SquashMessageFormatterTest.java | SquashMessageFormatterTest: Open git in try-with-resource | 8 lat temu |