diff options
Diffstat (limited to 'scripting/java/com/sun/star/script/framework/provider/ClassLoaderFactory.java')
-rw-r--r-- | scripting/java/com/sun/star/script/framework/provider/ClassLoaderFactory.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scripting/java/com/sun/star/script/framework/provider/ClassLoaderFactory.java b/scripting/java/com/sun/star/script/framework/provider/ClassLoaderFactory.java index 2df0e5459ce5..b3f3c50b8603 100644 --- a/scripting/java/com/sun/star/script/framework/provider/ClassLoaderFactory.java +++ b/scripting/java/com/sun/star/script/framework/provider/ClassLoaderFactory.java @@ -28,6 +28,7 @@ import java.net.URLClassLoader; * Class Loader Factory */ public class ClassLoaderFactory { + private ClassLoaderFactory() {} public static ClassLoader getURLClassLoader(ScriptMetaData scriptData) { @@ -41,9 +42,9 @@ public class ClassLoaderFactory { return getURLClassLoader(parent, classPath); } + private static ClassLoader getURLClassLoader(ClassLoader parent, URL[] classpath) { return new URLClassLoader(classpath, parent); } - -} +}
\ No newline at end of file |