Parcourir la source

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

tags/release-3.7.0
RationalityFrontline il y a 3 ans
Parent
révision
575abd034f
Aucun compte lié à l'adresse e-mail de l'auteur

+ 1
- 1
pf4j/src/test/java/org/pf4j/SingletonExtensionFactoryTest.java Voir le fichier

@@ -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++) {

Chargement…
Annuler
Enregistrer