aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRationalityFrontline <rationalityfrontline@gmail.com>2021-04-04 17:25:06 +0800
committerGitHub <noreply@github.com>2021-04-04 12:25:06 +0300
commit575abd034fd3bfbeff60f1ddbd9deb88c6b741e6 (patch)
tree4dd7c58dc4fdcd86518079434d5983bb5f21e971
parenta23546db746d5791aa39f02c8fe0538207e0f148 (diff)
downloadpf4j-575abd034fd3bfbeff60f1ddbd9deb88c6b741e6.tar.gz
pf4j-575abd034fd3bfbeff60f1ddbd9deb88c6b741e6.zip
Fix the path separator used in the SingletonExtensionFactoryTest.java (#435)
-rw-r--r--pf4j/src/test/java/org/pf4j/SingletonExtensionFactoryTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/pf4j/src/test/java/org/pf4j/SingletonExtensionFactoryTest.java b/pf4j/src/test/java/org/pf4j/SingletonExtensionFactoryTest.java
index 1044034..739a76f 100644
--- a/pf4j/src/test/java/org/pf4j/SingletonExtensionFactoryTest.java
+++ b/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++) {