|
3 | 3 | "-//Checkstyle//DTD Checkstyle Configuration 1.3//EN" |
4 | 4 | "https://checkstyle.org/dtds/configuration_1_3.dtd"> |
5 | 5 |
|
6 | | -<!-- Based on sun_checks.xml (V8.30) --> |
| 6 | +<!-- Based on sun_checks.xml V8.37 (https://github.com/checkstyle/checkstyle/blob/checkstyle-8.37/src/main/resources/sun_checks.xml) --> |
7 | 7 |
|
8 | 8 | <!-- |
9 | | - Checkstyle configuration that checks the sun coding conventions from: |
| 9 | +Checkstyle configuration that checks the sun coding conventions from: |
10 | 10 | - the Java Language Specification at |
11 | 11 | https://docs.oracle.com/javase/specs/jls/se11/html/index.html |
12 | | - - the Sun Code Conventions at https://www.oracle.com/technetwork/java/codeconvtoc-136057.html |
| 12 | + - the Sun Code Conventions at https://www.oracle.com/java/technologies/javase/codeconventions-contents.html |
13 | 13 | - the Javadoc guidelines at |
14 | | - https://www.oracle.com/technetwork/java/javase/documentation/index-137868.html |
| 14 | + https://www.oracle.com/technical-resources/articles/java/javadoc-tool.html |
15 | 15 | - the JDK Api documentation https://docs.oracle.com/en/java/javase/11/ |
16 | 16 | - some best practices |
17 | 17 | Checkstyle is very configurable. Be sure to read the documentation at |
|
26 | 26 | <!-- |
27 | 27 | If you set the basedir property below, then all reported file |
28 | 28 | names will be relative to the specified directory. See |
29 | | - https://checkstyle.org/5.x/config.html#Checker |
| 29 | + https://checkstyle.org/config.html#Checker |
30 | 30 | <property name="basedir" value="${basedir}"/> |
31 | 31 | --> |
32 | 32 | <property name="severity" value="error"/> |
|
120 | 120 |
|
121 | 121 | <!-- Checks for Javadoc comments. --> |
122 | 122 | <!-- See https://checkstyle.org/config_javadoc.html --> |
123 | | - <module name="InvalidJavadocPosition"/> |
| 123 | + <module name="InvalidJavadocPosition"> |
| 124 | + <!-- BorderTech: Override to warning --> |
| 125 | + <property name="severity" value="warning" /> |
| 126 | + </module> |
| 127 | + |
124 | 128 | <module name="JavadocMethod"> |
125 | 129 | <!-- BorderTech: Javadoc not required for methods with these annotations --> |
126 | 130 | <property name="allowedAnnotations" value="Override,Test,Before,After,BeforeClass,AfterClass"/> |
|
146 | 150 | <module name="TypeName"/> |
147 | 151 |
|
148 | 152 | <!-- Checks for imports --> |
149 | | - <!-- See https://checkstyle.org/config_import.html --> |
| 153 | + <!-- See https://checkstyle.org/config_imports.html --> |
150 | 154 | <module name="AvoidStarImport"/> |
151 | 155 | <module name="IllegalImport"/> <!-- defaults to sun.* packages --> |
152 | 156 | <module name="RedundantImport"/> |
|
0 commit comments