Skip to content

Commit e87be29

Browse files
Calixteromani
authored andcommitted
Issue #166: update to Checkstyle 8.24
1 parent 7d83897 commit e87be29

15 files changed

+74
-9
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.23-all.jar" sourcepath="checkstyle-checkstyle-8.23.zip"/>
3+
<classpathentry exported="true" kind="lib" path="checkstyle-8.24-all.jar" sourcepath="checkstyle-checkstyle-8.24.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.23.0"
4848
Bundle-ClassPath: .,
49-
checkstyle-8.23-all.jar
49+
checkstyle-8.24-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.23-all.jar
4+
checkstyle-8.24-all.jar
55
jars.compile.order = .
66
source.. = metadata/

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ AnnotationUseStyle.trailingArrayComma = Defines the policy for trailing comma in
99

1010
MissingDeprecated.desc = Verifies that both the <code>java.lang.Deprecated</code> annotation is present and the <code>@deprecated</code> Javadoc tag is present when either is present.
1111
MissingDeprecated.name = Missing Deprecated
12-
MissingDeprecated.skipNoJavadoc = When this property is set to true check ignore cases when JavaDoc is missing, but still warns when JavaDoc is present but either @deprecated is missing from JavaDoc or @deprecated is missing from the element.
12+
MissingDeprecated.violateExecutionOnNonTightHtml = If turned on, will print violations if the Javadoc being examined by this check violates the tight html rules defined at Tight-HTML Rules
1313

1414
MissingOverride.desc = Verifies that the <code>java.lang.Override</code> annotation is present when the <code>{@inheritDoc}</code> javadoc tag is present.
1515
MissingOverride.javaFiveCompatibility = When this property is true this check will only check classes, interfaces, etc. that do not contain the extends or implements keyword or are not anonymous classes. This means it only checks methods overridden from java.lang.Object.Java 5 Compatibility mode severely limits this check. It is recommended to only use it on Java 5 source.

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

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,14 @@
4343
<rule-metadata name="%MissingDeprecated.name" internal-name="MissingDeprecated" parent="TreeWalker">
4444
<alternative-name internal-name="com.puppycrawl.tools.checkstyle.checks.annotation.MissingDeprecatedCheck" />
4545
<description>%MissingDeprecated.desc</description>
46-
<property-metadata name="skipNoJavadoc" datatype="Boolean" default-value="false">
47-
<description>%MissingDeprecated.skipNoJavadoc</description>
46+
<property-metadata name="violateExecutionOnNonTightHtml" datatype="Boolean" default-value="false">
47+
<description>%MissingDeprecated.violateExecutionOnNonTightHtml</description>
4848
</property-metadata>
4949
<message-key key="annotation.missing.deprecated" />
5050
<message-key key="javadoc.duplicateTag" />
51-
<message-key key="javadoc.missing" />
51+
<message-key key="javadoc.missed.html.close" />
52+
<message-key key="javadoc.parse.rule.error" />
53+
<message-key key="javadoc.wrong.singleton.html.tag" />
5254
</rule-metadata>
5355

5456
<rule-metadata name="%MissingOverride.name" internal-name="MissingOverride" parent="TreeWalker">

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,10 @@ UnnecessaryParentheses.desc = Checks for the use of unnecessary parentheses.
177177
UnnecessaryParentheses.name = Unnecessary Parentheses
178178
UnnecessaryParentheses.tokens = tokens to check
179179
180+
UnnecessarySemicolonAfterTypeMemberDeclaration.desc = Checks if unnecessary semicolon is used after type member declaration.
181+
UnnecessarySemicolonAfterTypeMemberDeclaration.name = Unnecessary semicolon after type member declaration
182+
UnnecessarySemicolonAfterTypeMemberDeclaration.tokens = tokens to check
183+
180184
UnnecessarySemicolonInEnumeration.desc = Checks if unnecessary semicolon is in enum definitions.
181185
UnnecessarySemicolonInEnumeration.name = Unnecessary semicolon in enumeration
182186

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

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -536,6 +536,29 @@
536536
<message-key key="unnecessary.paren.lambda" />
537537
</rule-metadata>
538538

539+
<rule-metadata name="%UnnecessarySemicolonAfterTypeMemberDeclaration.name" internal-name="UnnecessarySemicolonAfterTypeMemberDeclaration" parent="TreeWalker">
540+
<alternative-name internal-name="com.puppycrawl.tools.checkstyle.checks.coding.UnnecessarySemicolonAfterTypeMemberDeclarationCheck" />
541+
<description>%UnnecessarySemicolonAfterTypeMemberDeclaration.desc</description>
542+
<property-metadata name="tokens" datatype="MultiCheck"
543+
default-value="CLASS_DEF,INTERFACE_DEF,ENUM_DEF,ANNOTATION_DEF,VARIABLE_DEF,ANNOTATION_FIELD_DEF,STATIC_INIT,INSTANCE_INIT,CTOR_DEF,METHOD_DEF,ENUM_CONSTANT_DEF">
544+
<description>%UnnecessarySemicolonAfterTypeMemberDeclaration.tokens</description>
545+
<enumeration>
546+
<property-value-option value="CLASS_DEF"/>
547+
<property-value-option value="INTERFACE_DEF"/>
548+
<property-value-option value="ENUM_DEF"/>
549+
<property-value-option value="ANNOTATION_DEF"/>
550+
<property-value-option value="VARIABLE_DEF"/>
551+
<property-value-option value="ANNOTATION_FIELD_DEF"/>
552+
<property-value-option value="STATIC_INIT"/>
553+
<property-value-option value="INSTANCE_INIT"/>
554+
<property-value-option value="CTOR_DEF"/>
555+
<property-value-option value="METHOD_DEF"/>
556+
<property-value-option value="ENUM_CONSTANT_DEF"/>
557+
</enumeration>
558+
</property-metadata>
559+
<message-key key="unnecessary.semicolon" />
560+
</rule-metadata>
561+
539562
<rule-metadata name="%UnnecessarySemicolonInEnumeration.name" internal-name="UnnecessarySemicolonInEnumeration" parent="TreeWalker">
540563
<alternative-name internal-name="com.puppycrawl.tools.checkstyle.checks.coding.UnnecessarySemicolonInEnumerationCheck" />
541564
<description>%UnnecessarySemicolonInEnumeration.desc</description>

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,11 @@ AtclauseOrder.violateExecutionOnNonTightHtml = This property determines if a che
105105
InvalidJavadocPosition.name = Invalid Javadoc Position
106106
InvalidJavadocPosition.desc = Checks that Javadocs are located at the correct position.
107107
108+
JavadocBlockTagLocation.name = Javadoc Block Location
109+
JavadocBlockTagLocation.desc = Checks that a javadoc block tag appears only at the beginning of a line, ignoring leading asterisks and white space.
110+
JavadocBlockTagLocation.violateExecutionOnNonTightHtml = Control when to print violations if the Javadoc being examined by this check violates the tight html rules defined at Tight-HTML Rules
111+
JavadocBlockTagLocation.tags = Specify the javadoc tags to process.
112+
108113
JavadocParagraph.name = Javadoc Paragraph
109114
JavadocParagraph.desc=Checks that:<ul><li>There is one blank line between each of two paragraphs and one blank line before the at-clauses block if it is present.</li><li>Each paragraph but the first has &lt;p&gt; immediately before the first word, with no space after.</li></ul>
110115
JavadocParagraph.allowNewlineParagraph= whether the <p> tag should be placed immediately before the first word

0 commit comments

Comments
 (0)