Skip to content

Commit 35d8f1d

Browse files
committed
Merge branch '2.5.x' into 2.6.x
Closes gh-30431
2 parents 344aa40 + 25e1e86 commit 35d8f1d

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

src/checkstyle/checkstyle.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
name="com.puppycrawl.tools.checkstyle.checks.imports.IllegalImportCheck">
1414
<property name="regexp" value="true" />
1515
<property name="illegalPkgs"
16-
value="^sun.*, ^org\.apache\.commons\.(?!compress|dbcp2|logging|pool2).*, ^com\.datastax\.oss\.driver\.shaded.*, ^com\.google\.common.*, ^io\.micrometer\.shaded.*, ^org\.flywaydb\.core\.internal.*, ^org\.testcontainers\.shaded.*" />
16+
value="^sun.*, ^org\.apache\.commons\.(?!compress|dbcp2|logging|pool2).*, ^com\.datastax\.oss\.driver\.shaded.*, ^com\.google\.common.*, ^io\.micrometer\.shaded.*, ^org\.flywaydb\.core\.internal.*, ^org\.jetbrains\.annotations.*, ^org\.testcontainers\.shaded.*" />
1717
<property name="illegalClasses"
1818
value="^com\.hazelcast\.util\.Base64, ^org\.junit\.rules\.ExpectedException, ^org\.mockito\.InjectMocks, ^org\.slf4j\.LoggerFactory, ^org.springframework.context.annotation.ScannedGenericBeanDefinition, ^reactor\.core\.support\.Assert"/>
1919
</module>

src/checkstyle/import-control.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<!DOCTYPE import-control PUBLIC "-//Checkstyle//DTD ImportControl Configuration 1.4//EN" "https://checkstyle.org/dtds/import_control_1_4.dtd">
33
<import-control pkg="org.springframework.boot">
44
<disallow pkg="io.micrometer" />
5+
<disallow pkg="org.springframework.lang" />
56
<allow pkg=".*" regex="true" />
67
<subpackage name="autoconfigure">
78
<disallow class="org.springframework.boot.autoconfigure.jdbc.DataSourceProperties"/>
@@ -45,6 +46,13 @@
4546
<subpackage name="endpoint">
4647
<disallow pkg="org.springframework.http" />
4748
<disallow pkg="org.springframework.web" />
49+
<subpackage name="invoke">
50+
<subpackage name="reflect">
51+
<file name="OperationMethodParameter">
52+
<allow pkg="org.springframework.lang"/>
53+
</file>
54+
</subpackage>
55+
</subpackage>
4856
<subpackage name="web">
4957
<allow pkg="org.springframework.http" />
5058
<allow pkg="org.springframework.web" />
@@ -56,6 +64,9 @@
5664
</subpackage>
5765
</subpackage>
5866
</subpackage>
67+
<file name=".*Endpoint(WebExtension)?" regex="true">
68+
<allow pkg="org.springframework.lang"/>
69+
</file>
5970
</subpackage>
6071

6172
<subpackage name="docs">

0 commit comments

Comments
 (0)