Skip to content

Commit

Permalink
Fix eclipse-birt#332: Migrate from FastClasspathScanner to ClassGraph
Browse files Browse the repository at this point in the history
  • Loading branch information
valfirst committed Nov 6, 2018
1 parent bc34e39 commit deec366
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -309,9 +309,9 @@
<version>1.8</version>
</dependency>
<dependency>
<groupId>io.github.lukehutch</groupId>
<artifactId>fast-classpath-scanner</artifactId>
<version>2.9.3</version>
<groupId>io.github.classgraph</groupId>
<artifactId>classgraph</artifactId>
<version>4.4.12</version>
</dependency>
</dependencies>
<distributionManagement>
Expand Down
4 changes: 2 additions & 2 deletions src/com/machinepublishers/jbrowserdriver/JBrowserDriver.java
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
import com.google.common.collect.ImmutableMap;
import com.machinepublishers.jbrowserdriver.diagnostics.Test;

import io.github.lukehutch.fastclasspathscanner.FastClasspathScanner;
import io.github.classgraph.ClassGraph;

/**
* A Selenium-compatible and WebKit-based web driver written in pure Java.
Expand Down Expand Up @@ -141,7 +141,7 @@ private static void initClasspath() {
List<String> classpathSimpleTmp = new ArrayList<String>();
List<String> classpathUnpackedTmp = new ArrayList<String>();
try {
List<File> classpathElements = new FastClasspathScanner().getUniqueClasspathElements();
List<File> classpathElements = new ClassGraph().getClasspathFiles();
final File classpathDir = Files.createTempDirectory("jbd_classpath_").toFile();
Runtime.getRuntime().addShutdownHook(new FileRemover(classpathDir));
List<String> pathsSimple = new ArrayList<String>();
Expand Down

0 comments on commit deec366

Please sign in to comment.