Skip to content

Commit de169ff

Browse files
committed
Merge pull request #23071 from dreis2211
* pr/23071: Disallow Apache Commons Lang & Lang3 imports Closes gh-23071
2 parents 7a14477 + 7bf32e9 commit de169ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/checkstyle/checkstyle.xml

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

0 commit comments

Comments
 (0)