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#12520: removes missing package-info Javadoc check in…
… JavadocStyle
- Loading branch information
Showing
15 changed files
with
139 additions
and
152 deletions.
There are no files selected for viewing
113 changes: 56 additions & 57 deletions
113
config/archunit-store/slices_should_be_free_of_cycles_suppressions
Large diffs are not rendered by default.
Oops, something went wrong.
60 changes: 0 additions & 60 deletions
60
src/it/java/org/checkstyle/suppressionxpathfilter/XpathRegressionJavadocStyleTest.java
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
...eckstyle/suppressionxpathfilter/javadocstyle/SuppressionXpathRegression/package-info.java
This file was deleted.
Oops, something went wrong.
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
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
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
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
...m/puppycrawl/tools/checkstyle/checks/javadoc/javadocstyle/missingperiod/package-info.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 @@ | ||
/* | ||
JavadocStyle | ||
scope = (default)private | ||
excludeScope = (default)null | ||
checkFirstSentence = (default)true | ||
endOfSentenceFormat = (default)([.?!][ \t\n\r\f<])|([.?!]$) | ||
checkEmptyJavadoc = (default)false | ||
checkHtml = (default)true | ||
tokens = (default)ANNOTATION_DEF, ANNOTATION_FIELD_DEF, CLASS_DEF, CTOR_DEF, \ | ||
ENUM_CONSTANT_DEF, ENUM_DEF, INTERFACE_DEF, METHOD_DEF, PACKAGE_DEF, \ | ||
VARIABLE_DEF, RECORD_DEF, COMPACT_CTOR_DEF | ||
*/ | ||
|
||
/** Example */ // violation 'First sentence should end with a period.' | ||
@Example | ||
package com.puppycrawl.tools.checkstyle.checks.javadoc.javadocstyle.missingperiod; | ||
|
||
import java.lang.annotation.ElementType; | ||
import java.lang.annotation.Retention; | ||
import java.lang.annotation.RetentionPolicy; | ||
import java.lang.annotation.Target; | ||
|
||
@Retention(RetentionPolicy.CLASS) | ||
@Target(ElementType.PACKAGE) | ||
@interface Example { | ||
} |
4 changes: 4 additions & 0 deletions
4
...test/resources/com/puppycrawl/tools/checkstyle/utils/checkutil/InputCheckUtilPackage.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,4 @@ | ||
package com.puppycrawl.tools.checkstyle.utils.checkutil; // ok | ||
|
||
public class InputCheckUtilPackage { | ||
} |
1 change: 1 addition & 0 deletions
1
src/test/resources/com/puppycrawl/tools/checkstyle/utils/checkutil/package-info.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 @@ | ||
package com.puppycrawl.tools.checkstyle.utils.checkutil; // ok |
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