Error Prone: Enable and fix OperatorPrecedence
Change-Id: I1c9e79a37cba650b1526793fc7997544bb99aafc
This commit is contained in:
parent
17ef12713b
commit
edd57a21d6
@ -656,7 +656,7 @@ public class SubmoduleOp {
|
||||
int newSize = msgbuf.length() + bullet.length() + message.length();
|
||||
if (++numMessages > maxCommitMessages
|
||||
|| newSize > maxCombinedCommitMessageSize
|
||||
|| iter.hasNext() && (newSize + ellipsis.length()) > maxCombinedCommitMessageSize) {
|
||||
|| (iter.hasNext() && (newSize + ellipsis.length()) > maxCombinedCommitMessageSize)) {
|
||||
msgbuf.append(ellipsis);
|
||||
break;
|
||||
}
|
||||
|
@ -65,7 +65,7 @@ java_package_configuration(
|
||||
"-Xep:NullableConstructor:WARN",
|
||||
"-Xep:NullablePrimitive:WARN",
|
||||
"-Xep:NullableVoid:WARN",
|
||||
"-Xep:OperatorPrecedence:WARN",
|
||||
"-Xep:OperatorPrecedence:ERROR",
|
||||
"-Xep:OverridesGuiceInjectableMethod:WARN",
|
||||
"-Xep:PreconditionsInvalidPlaceholder:WARN",
|
||||
"-Xep:ProtoFieldPreconditionsCheckNotNull:WARN",
|
||||
|
Loading…
Reference in New Issue
Block a user