diff --git a/builder/src/main/java/net/kemitix/checkstyle/ruleset/builder/ClassGraphPackageScanner.java b/builder/src/main/java/net/kemitix/checkstyle/ruleset/builder/ClassGraphPackageScanner.java index e0f11cf..5e8f9b1 100644 --- a/builder/src/main/java/net/kemitix/checkstyle/ruleset/builder/ClassGraphPackageScanner.java +++ b/builder/src/main/java/net/kemitix/checkstyle/ruleset/builder/ClassGraphPackageScanner.java @@ -33,7 +33,7 @@ public class ClassGraphPackageScanner implements PackageScanner { private static ScanResult scanPackage(final ClassGraph classGraph, final String basePackage) { return classGraph - .whitelistPackages(basePackage) + .acceptPackages(basePackage) .scan(); }