Skip to content

Commit

Permalink
Align the implementation of blacklistLibOrExtJars with the implementa…
Browse files Browse the repository at this point in the history
…tion of whitelistLibOrExtJars

fixes #277
  • Loading branch information
larsgrefer committed Nov 1, 2018
1 parent a49422e commit e5a2ac0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/io/github/classgraph/ClassGraph.java
Original file line number Diff line number Diff line change
Expand Up @@ -862,7 +862,7 @@ public ClassGraph blacklistLibOrExtJars(final String... jarLeafNames) {
if (jarLeafNames.length == 0) {
// Blacklist all lib or ext jars
for (final String libOrExtJar : JarUtils.getJreLibOrExtJars()) {
blacklistLibOrExtJars(libOrExtJar);
blacklistLibOrExtJars(JarUtils.leafName(libOrExtJar));
}
} else {
for (final String jarLeafName : jarLeafNames) {
Expand Down

0 comments on commit e5a2ac0

Please sign in to comment.