diff options
author | RationalityFrontline <rationalityfrontline@gmail.com> | 2021-04-04 17:25:06 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-04 12:25:06 +0300 |
commit | 575abd034fd3bfbeff60f1ddbd9deb88c6b741e6 (patch) | |
tree | 4dd7c58dc4fdcd86518079434d5983bb5f21e971 | |
parent | a23546db746d5791aa39f02c8fe0538207e0f148 (diff) | |
download | pf4j-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.java | 2 |
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++) { |