File tree 5 files changed +16
-17
lines changed
MCHECKSTYLE-70-multi-sourcefolder 5 files changed +16
-17
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ under the License.
66
66
<!-- Because Checkstyle 7+ requires Java 8 -->
67
67
<javaVersion >8</javaVersion >
68
68
<mavenVersion >3.0</mavenVersion >
69
- <checkstyleVersion >8.19 </checkstyleVersion >
69
+ <checkstyleVersion >8.28 </checkstyleVersion >
70
70
<doxiaVersion >1.4</doxiaVersion >
71
71
<sitePluginVersion >3.7.1</sitePluginVersion >
72
72
</properties >
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ under the License.
57
57
<artifactId >maven-checkstyle-plugin</artifactId >
58
58
<version >${checkstyleVersion} </version >
59
59
<configuration >
60
- <configLocation >https://raw.githubusercontent.com/checkstyle/checkstyle/checkstyle-8.19 /src/main/resources/sun_checks.xml</configLocation >
60
+ <configLocation >https://raw.githubusercontent.com/checkstyle/checkstyle/checkstyle-8.28 /src/main/resources/sun_checks.xml</configLocation >
61
61
</configuration >
62
62
</plugin >
63
63
</plugins >
Original file line number Diff line number Diff line change 44
44
<property name =" charset" value =" UTF-8" />
45
45
<property name =" severity" value =" error" />
46
46
47
+ <!-- Sizes -->
48
+ <module name =" LineLength" >
49
+ <property name =" max" value =" 120" />
50
+ </module >
51
+
47
52
<module name =" TreeWalker" >
48
53
<property name =" tabWidth" value =" 3" />
49
54
55
60
56
61
<!-- Annotations -->
57
62
<module name =" AnnotationUseStyle" />
58
- <module name =" MissingDeprecated" >
59
- <property name =" skipNoJavadoc" value =" true" />
60
- </module >
63
+ <module name =" MissingDeprecated" />
61
64
<module name =" MissingOverride" />
62
65
<module name =" PackageAnnotation" />
63
66
134
137
<!-- Naming -->
135
138
<module name =" ConstantName" />
136
139
137
- <!-- Sizes -->
138
- <module name =" LineLength" >
139
- <property name =" max" value =" 120" />
140
- </module >
141
140
</module >
142
141
143
142
<module name =" RegexpSingleline" >
Original file line number Diff line number Diff line change 19
19
*/
20
20
def buildLog = new File ( basedir, ' build.log' )
21
21
22
- // 3 errors in src/additional/java and 2 errors in src/test-additional/java
23
- assert buildLog. text. contains( " [INFO] There are 5 errors reported by Checkstyle" )
22
+ // 2 errors in src/additional/java and 1 errors in src/test-additional/java
23
+ assert buildLog. text. contains( " [INFO] There are 3 errors reported by Checkstyle" )
Original file line number Diff line number Diff line change @@ -57,6 +57,11 @@ under the License.
57
57
<property name="message" value="Line has trailing spaces."/>
58
58
</module>-->
59
59
60
+ <module name =" LineLength" >
61
+ <property name =" max" value =" 120" />
62
+ <property name =" ignorePattern" value =" @version|@see|@todo|TODO" />
63
+ </module >
64
+
60
65
<module name =" TreeWalker" >
61
66
62
67
<property name =" tabWidth" value =" 4" />
@@ -73,16 +78,11 @@ under the License.
73
78
<property name =" option" value =" alone" />
74
79
</module >
75
80
76
- <module name =" LineLength" >
77
- <property name =" max" value =" 120" />
78
- <property name =" ignorePattern" value =" @version|@see|@todo|TODO" />
79
- </module >
80
-
81
81
<module name =" MemberName" />
82
82
83
83
<!-- Checks for Javadoc comments. -->
84
84
<!-- See http://checkstyle.sf.net/config_javadoc.html -->
85
- <module name =" JavadocMethod " >
85
+ <module name =" MissingJavadocMethod " >
86
86
<property name =" severity" value =" warning" />
87
87
<property name =" scope" value =" protected" />
88
88
</module >
You can’t perform that action at this time.
0 commit comments