-
Notifications
You must be signed in to change notification settings - Fork 508
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor AnnotationRule to improve maintainability (#1574)
* Refactor AnnotationRule to improve maintainability Replace (biggest part of) processing of MODIFIER_LIST and FILE_ANNOTATION_LIST with processing of individual ANNOTATION_ENTRY. This allows ANNOTATION_ENTRY to be followed by EOL_COMMENT plus another ANNOTATION_ENTRY. Reword the violations to be more clear. Annotation with parameter(s) on same line as annotated construct is rewritten to annotation on a separate line directly as otherwise a lint violation would remain after the first format. Closes #1539
- Loading branch information
1 parent
6fdb80e
commit fb7f5b4
Showing
3 changed files
with
298 additions
and
121 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
Oops, something went wrong.