From 7bf32e9bb16f79539771f9a1875430e10a22fb66 Mon Sep 17 00:00:00 2001 From: dreis2211 Date: Tue, 25 Aug 2020 09:28:25 +0200 Subject: [PATCH] Disallow Apache Commons Lang & Lang3 imports See gh-23071 --- src/checkstyle/checkstyle.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/checkstyle/checkstyle.xml b/src/checkstyle/checkstyle.xml index b037b1049b..a0e3e68a65 100644 --- a/src/checkstyle/checkstyle.xml +++ b/src/checkstyle/checkstyle.xml @@ -12,7 +12,7 @@ name="com.puppycrawl.tools.checkstyle.checks.imports.IllegalImportCheck"> + value="^sun.*, ^org\.apache\.commons\.(?!compress|dbcp2|logging|pool2).*, ^com\.google\.common.*, ^org\.flywaydb\.core\.internal.*, ^org\.testcontainers\.shaded.*" />