Skip to content

Commit

Permalink
Fix quality flaw
Browse files Browse the repository at this point in the history
  • Loading branch information
dbolkensteyn committed May 24, 2016
1 parent 7a5bd89 commit 79347f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/org/sonar/plugins/csharp/CSharpCPDMapping.java
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public class CSharpCPDMapping extends AbstractCpdMapping {
private static final String CONNECTING_CHAR = g("\\p{Pc}");
private static final String FORMATTING_CHAR = g("\\p{Cf}");

enum CSharpPunctuator implements TokenType {
private enum CSharpPunctuator implements TokenType {
SEMICOLON(";"), EQUAL("="), STAR("*"), LCURLYBRACE("{"), LPARENTHESIS("("), LBRACKET("["), RBRACKET("]"), RPARENTHESIS(")"), RCURLYBRACE(
"}"), COLON(":"), COMMA(","), DOT("."), EXCLAMATION("!"), SUPERIOR(">"), INFERIOR("<"), PLUS("+"), MINUS("-"), SLASH("/"), MODULO("%"), AND(
"&"), XOR("^"), OR("|"), QUESTION("?"), TILDE("~"), DOUBLE_COLON("::"), DOUBLE_QUESTION("??"), EQ_OP("=="), NE_OP("!="), LEFT_ASSIGN(
Expand All @@ -73,7 +73,7 @@ enum CSharpPunctuator implements TokenType {

private final String value;

private CSharpPunctuator(String word) {
CSharpPunctuator(String word) {
this.value = word;
}

Expand Down

0 comments on commit 79347f2

Please sign in to comment.