Skip to content

Commit

Permalink
Merge pull request ronmamo#210 from sschuberth/patch-1
Browse files Browse the repository at this point in the history
Fix a performance degradation introduced by PR ronmamo#183
  • Loading branch information
ronmamo authored Nov 16, 2017
2 parents 644ffb1 + 536819e commit 646d382
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/reflections/Reflections.java
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ protected void scan() {
return;
}

if (log != null) {
if (log != null && log.isDebugEnabled()) {
log.debug("going to scan these urls:\n{}", Joiner.on("\n").join(configuration.getUrls()));
}

Expand Down

0 comments on commit 646d382

Please sign in to comment.