Skip to content

Commit 43edbfc

Browse files
Calixteromani
authored andcommitted
Issue #224: update to Checkstyle 8.32
1 parent f696c52 commit 43edbfc

File tree

12 files changed

+26
-6
lines changed

12 files changed

+26
-6
lines changed

net.sf.eclipsecs.checkstyle/.classpath

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<classpath>
3-
<classpathentry exported="true" kind="lib" path="checkstyle-8.31-all.jar" sourcepath="checkstyle-checkstyle-8.31.zip"/>
3+
<classpathentry exported="true" kind="lib" path="checkstyle-8.32-all.jar" sourcepath="checkstyle-checkstyle-8.32.zip"/>
44
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
55
<attributes>
66
<attribute name="maven.pomderived" value="true"/>

net.sf.eclipsecs.checkstyle/META-INF/MANIFEST.MF

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,5 @@ Export-Package: .,
4646
com.puppycrawl.tools.checkstyle.utils,
4747
org.apache.commons.beanutils;version="8.31.0"
4848
Bundle-ClassPath: .,
49-
checkstyle-8.31-all.jar
49+
checkstyle-8.32-all.jar
5050
Automatic-Module-Name: net.sf.eclipsecs.checkstyle
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
bin.includes = META-INF/,\
22
.,\
33
license/,\
4-
checkstyle-8.31-all.jar
4+
checkstyle-8.32-all.jar
55
jars.compile.order = .
66
source.. = metadata/

net.sf.eclipsecs.checkstyle/metadata/com/puppycrawl/tools/checkstyle/checks/checkstyle-metadata.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,6 @@
195195
</property-metadata>
196196
<alternative-name
197197
internal-name="com.puppycrawl.tools.checkstyle.checks.SuppressWarningsHolder"/>
198-
<message-key key="suppress.warnings.invalid.target"/>
199198
</rule-metadata>
200199
</rule-group-metadata>
201200
</checkstyle-metadata>

net.sf.eclipsecs.checkstyle/metadata/com/puppycrawl/tools/checkstyle/checks/design/checkstyle-metadata.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@ VisibilityModifier.immutableClassCanonicalNames = immutable classes canonical na
3838
VisibilityModifier.ignoreAnnotationCanonicalNames = ignore annotations canonical names
3939
4040
OneTopLevelClass.name = One Top Level Class
41-
OneTopLevelClass.desc = Checks that each top-level class, interface or enum resides in a source file of its own. Official description of a 'top-level' term:7.6. Top Level Type Declarations. If file doesn't contains public class, enum or interface, top-level type is the first type in file.
41+
OneTopLevelClass.desc = Checks that each top-level class, interface, enum or annotation resides in a source file of its own. Official description of a 'top-level' term: 7.6. Top Level Type Declarations. If file doesn't contains public class, interface, enum or annotation, top-level type is the first type in file.

net.sf.eclipsecs.checkstyle/metadata/com/puppycrawl/tools/checkstyle/checks/javadoc/checkstyle-metadata.properties

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ JavadocMethod.name = Method Javadoc
1111
JavadocMethod.scope = Visibility scope where Javadoc comments are checked.
1212
JavadocMethod.tokens = Tokens to check.
1313

14+
JavadocMissingWhitespaceAfterAsterisk.desc = Checks that there is at least one whitespace after the leading asterisk.
15+
JavadocMissingWhitespaceAfterAsterisk.name = Javadoc Missing Whitespace After Asterisk
16+
JavadocMissingWhitespaceAfterAsterisk.violateExecutionOnNonTightHtml = Control when to print violations if the Javadoc being examined by this check violates the tight html rules defined at Tight-HTML Rules.
17+
1418
JavadocPackage.allowLegacy = If set then allow the use of a package.html file.
1519
JavadocPackage.desc = Checks that each Java package has a Javadoc comment. By default it only allows a <code>package-info.java</code> file, but can be configured to allow a <code>package.html</code> file. \r\n<br/>\r\nAn error will be reported if both files exist as this is not allowed by the Javadoc tool. \r\n
1620
JavadocPackage.name = Package Javadoc

net.sf.eclipsecs.checkstyle/metadata/com/puppycrawl/tools/checkstyle/checks/javadoc/checkstyle-metadata.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,18 @@
5858
<message-key key="javadoc.return.expected" />
5959
</rule-metadata>
6060

61+
<rule-metadata name="%JavadocMissingWhitespaceAfterAsterisk.name" internal-name="JavadocMissingWhitespaceAfterAsterisk" parent="TreeWalker">
62+
<alternative-name internal-name="com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocMissingWhitespaceAfterAsteriskCheck" />
63+
<description>%JavadocMissingWhitespaceAfterAsterisk.desc</description>
64+
<property-metadata name="violateExecutionOnNonTightHtml" datatype="Boolean" default-value="false">
65+
<description>%JavadocMissingWhitespaceAfterAsterisk.violateExecutionOnNonTightHtml</description>
66+
</property-metadata>
67+
<message-key key="javadoc.missed.html.close" />
68+
<message-key key="javadoc.missing.whitespace" />
69+
<message-key key="javadoc.parse.rule.error" />
70+
<message-key key="javadoc.wrong.singleton.html.tag" />
71+
</rule-metadata>
72+
6173
<rule-metadata name="%JavadocStyle.name" internal-name="JavadocStyle" parent="TreeWalker">
6274
<alternative-name internal-name="com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocStyleCheck" />
6375
<description>%JavadocStyle.desc</description>

net.sf.eclipsecs.checkstyle/metadata/com/puppycrawl/tools/checkstyle/checks/naming/checkstyle-metadata.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ AbbreviationAsWordInName.allowedAbbreviationLength = indicates on the allowed am
8686
AbbreviationAsWordInName.allowedAbbreviations = list of abbreviations that must be skipped for checking. Abbreviations should be separated by comma, no spaces are allowed.
8787
AbbreviationAsWordInName.ignoreFinal = allow to skip variables with final modifier.
8888
AbbreviationAsWordInName.ignoreStatic = allow to skip variables with static modifier.
89+
AbbreviationAsWordInName.ignoreStaticFinal = Allow to skip variables with both static and final modifiers.
8990
AbbreviationAsWordInName.ignoreOverriddenMethods = Allows to ignore methods tagged with @Override annotation (that usually mean inherited name).
9091
AbbreviationAsWordInName.tokens = Tokens to check.
9192

0 commit comments

Comments
 (0)