Updated ClassGraphPackageScanner usage (#420)

This commit is contained in:
Paul Campbell 2021-07-02 07:33:39 +01:00 committed by GitHub
parent 8bcf651231
commit 73b3248542
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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();
}