From ee9753c9bbf9d2a71c36017cdba9674f1ca3e25f Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Sun, 4 Sep 2016 22:37:34 +0100 Subject: [PATCH] AbbreviationAsWordInName: apply to final and static --- README.md | 4 +--- src/main/resources/net/kemitix/checkstyle.xml | 5 ++++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 4c53fab..63b4aeb 100644 --- a/README.md +++ b/README.md @@ -294,9 +294,7 @@ Rules are listed in alphabetical order. #### [AbbreviationAsWordInName](http://checkstyle.sourceforge.net/config_naming.html#AbbreviationAsWordInName) -Enforces proper `CamelCase` and avoids sequences of consecutive uppercase characters in identifiers. Does not apply to final or static variables, or @Overridden methods. - -> TODO: enable for final and static variables. +Enforces proper `CamelCase` and avoids sequences of consecutive uppercase characters in identifiers. Does not apply to @Overridden methods. Valid: ```` diff --git a/src/main/resources/net/kemitix/checkstyle.xml b/src/main/resources/net/kemitix/checkstyle.xml index 632dfee..7732808 100644 --- a/src/main/resources/net/kemitix/checkstyle.xml +++ b/src/main/resources/net/kemitix/checkstyle.xml @@ -23,7 +23,10 @@ - + + + +