Skip to content

Commit

Permalink
Use IdentityHashMap for all maps and sets (#515)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukehutch committed Jun 2, 2021
1 parent 6628929 commit e8728ac
Showing 1 changed file with 3 additions and 2 deletions.
Expand Up @@ -259,8 +259,9 @@ public ClasspathFinder(final ScanSpec scanSpec, final LogNode log) {
// Otherwise add classpath entries to classpathOrder, and add the classloader to the
// final classloader ordering
final LogNode classloaderHandlerLog = classloaderURLLog == null ? null
: classloaderURLLog.log("Classloader " + classLoader + " is handled by "
+ classLoaderHandlerRegistryEntry.classLoaderHandlerClass.getName());
: classloaderURLLog
.log("Classloader " + classLoader.getClass().getName() + " is handled by "
+ classLoaderHandlerRegistryEntry.classLoaderHandlerClass.getName());
classLoaderHandlerRegistryEntry.findClasspathOrder(classLoader, classpathOrder, scanSpec,
classloaderHandlerLog);
finalClassLoaderOrder.add(classLoader);
Expand Down

0 comments on commit e8728ac

Please sign in to comment.