Commit 0a64591 1 parent 5302e7a commit 0a64591 Copy full SHA for 0a64591
File tree 2 files changed +18
-0
lines changed
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 221
221
<property name =" message" value =" Please use class literals for primitives and void -- for example, int.class instead of Integer.TYPE." />
222
222
<property name =" ignoreComments" value =" true" />
223
223
</module >
224
+ <module name =" com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSinglelineJavaCheck" >
225
+ <property name =" id" value =" toLowerCaseWithoutLocale" />
226
+ <property name =" format" value =" \.toLowerCase\(\)" />
227
+ <property name =" maximum" value =" 0" />
228
+ <property name =" message"
229
+ value =" String.toLowerCase() should be String.toLowerCase(Locale.ROOT)" />
230
+ <property name =" ignoreComments" value =" true" />
231
+ </module >
232
+ <module name =" com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSinglelineJavaCheck" >
233
+ <property name =" id" value =" toUpperCaseWithoutLocale" />
234
+ <property name =" format" value =" \.toUpperCase\(\)" />
235
+ <property name =" maximum" value =" 0" />
236
+ <property name =" message"
237
+ value =" String.toUpperCase() should be String.toUpperCase(Locale.ROOT)" />
238
+ <property name =" ignoreComments" value =" true" />
239
+ </module >
224
240
<module
225
241
name=" com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSinglelineJavaCheck" >
226
242
<property name =" maximum" value =" 0" />
You can’t perform that action at this time.
0 commit comments