Browse Source

Fix the path separator used in the SingletonExtensionFactoryTest.java (#435)

pull/451/head
RationalityFrontline 4 years ago committed by GitHub
parent
commit
575abd034f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      pf4j/src/test/java/org/pf4j/SingletonExtensionFactoryTest.java

2
pf4j/src/test/java/org/pf4j/SingletonExtensionFactoryTest.java

@ -74,7 +74,7 @@ public class SingletonExtensionFactoryTest {
private URL[] getClasspathReferences() throws MalformedURLException {
String classpathProperty = System.getProperty("java.class.path");
String[] classpaths = classpathProperty.split(":");
String[] classpaths = classpathProperty.split(File.pathSeparator);
URL[] uris = new URL[classpaths.length];
for (int index = 0; index < classpaths.length; index++) {

Loading…
Cancel
Save