File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change 12
12
13
13
<!-- Global: tests and test fixtures -->
14
14
<suppress files =" [\\/]src[\\/](test|testFixtures)[\\/](java|java21)[\\/]" checks =" AnnotationLocation|AnnotationUseStyle|AtclauseOrder|AvoidNestedBlocks|FinalClass|HideUtilityClassConstructor|InnerTypeLast|JavadocStyle|JavadocType|JavadocVariable|LeftCurly|MultipleVariableDeclarations|NeedBraces|OneTopLevelClass|OuterTypeFilename|RequireThis|SpringCatch|SpringJavadoc|SpringNoThis" />
15
+ <suppress files =" [\\/]src[\\/](test|testFixtures)[\\/](java|java21)[\\/]" checks =" RegexpSinglelineJava" id =" toLowerCaseWithoutLocale" />
16
+ <suppress files =" [\\/]src[\\/](test|testFixtures)[\\/](java|java21)[\\/]" checks =" RegexpSinglelineJava" id =" toUpperCaseWithoutLocale" />
15
17
<suppress files =" [\\/]src[\\/](test|testFixtures)[\\/](java|java21)[\\/]org[\\/]springframework[\\/].+(Tests|Suite)" checks =" IllegalImport" id =" bannedJUnitJupiterImports" />
16
18
<suppress files =" [\\/]src[\\/](test|testFixtures)[\\/](java|java21)[\\/]" checks =" SpringJUnit5" message =" should not be public" />
17
19
Original file line number Diff line number Diff line change 229
229
<property name =" message" value =" Please use class literals for primitives and void -- for example, int.class instead of Integer.TYPE." />
230
230
<property name =" ignoreComments" value =" true" />
231
231
</module >
232
+ <module name =" com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSinglelineJavaCheck" >
233
+ <property name =" id" value =" toLowerCaseWithoutLocale" />
234
+ <property name =" format" value =" \.toLowerCase\(\)" />
235
+ <property name =" maximum" value =" 0" />
236
+ <property name =" message"
237
+ value =" String.toLowerCase() should be String.toLowerCase(Locale.ROOT)" />
238
+ <property name =" ignoreComments" value =" true" />
239
+ </module >
240
+ <module name =" com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSinglelineJavaCheck" >
241
+ <property name =" id" value =" toUpperCaseWithoutLocale" />
242
+ <property name =" format" value =" \.toUpperCase\(\)" />
243
+ <property name =" maximum" value =" 0" />
244
+ <property name =" message"
245
+ value =" String.toUpperCase() should be String.toUpperCase(Locale.ROOT)" />
246
+ <property name =" ignoreComments" value =" true" />
247
+ </module >
232
248
<module
233
249
name=" com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSinglelineJavaCheck" >
234
250
<property name =" maximum" value =" 0" />
You can’t perform that action at this time.
0 commit comments