Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: NullPointerException in SignOnlyFormat (#195)
`CompileTimeConstantExpressionMatcher` can match expressions that return null from `ASTHelpers.constValue`. So instead we directly rely on the latter for determining constants. According to the error-prone team, this combination of helper methods was not guaranteed to play together nicely and it just happened to work before error-prone v2.14.0. closes #193
- Loading branch information
Showing
4 changed files
with
56 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters