Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated NamedParameters to improve error message when comment doesn't…
… conform to style and also to detect bad after-block comments. Change the suggestion to include spaces around the equals sign (the check is agnostic to spaces). This change also removes @RequiresNamedParameters. We probably shouldn't be providing a new language feature which legitimizes an API design which should instead be refactored to improve usability. RELNOTES: Change suggestion for NamedParameters to include spaces around the equals sign, improved errormessage and removed @RequiresNamedParameters ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=158570586
- Loading branch information
andrewrice
authored and
Eddie Aftandilian
committed
Jun 28, 2017
1 parent
4691d02
commit 96f1ed6
Showing
9 changed files
with
286 additions
and
196 deletions.
There are no files selected for viewing
38 changes: 0 additions & 38 deletions
38
annotations/src/main/java/com/google/errorprone/annotations/RequiresNamedParameters.java
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.