forked from checkstyle/checkstyle
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue checkstyle#12409: Inconsistent allowedAbbreviations
- Loading branch information
Showing
3 changed files
with
38 additions
and
1 deletion.
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
28 changes: 28 additions & 0 deletions
28
...checkstyle/checks/naming/abbreviationaswordinname/InputAbbreviationAsWordInNameType7.java
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
/* | ||
AbbreviationAsWordInName | ||
allowedAbbreviations = ORDER, OBSERVATION, UNDERSCORE, TEST | ||
*/ | ||
|
||
|
||
package com.puppycrawl.tools.checkstyle.checks.naming.abbreviationaswordinname; | ||
|
||
public class InputAbbreviationAsWordInNameType7 { | ||
void getTEST() { | ||
} | ||
|
||
void getORDER_OBSERVATION() {} | ||
|
||
void getUNDERSCORE() {} | ||
|
||
void getTEST_OBSERVATION() {} | ||
|
||
void getTEST_UNDERSCORE() {} | ||
|
||
void getORDER() {} | ||
|
||
void getOBSERVATION() {} | ||
|
||
void getORDER_UNDERSCORE() {} | ||
} |