Browse Source

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

tags/release-3.7.0
RationalityFrontline 3 years ago
parent
commit
575abd034f
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      pf4j/src/test/java/org/pf4j/SingletonExtensionFactoryTest.java

+ 1
- 1
pf4j/src/test/java/org/pf4j/SingletonExtensionFactoryTest.java View File

@@ -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