summaryrefslogtreecommitdiff
path: root/qadevOOo/runner/util/DynamicClassLoader.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/runner/util/DynamicClassLoader.java')
-rw-r--r--qadevOOo/runner/util/DynamicClassLoader.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/qadevOOo/runner/util/DynamicClassLoader.java b/qadevOOo/runner/util/DynamicClassLoader.java
index 659593e69346..fc8f6ecf37cf 100644
--- a/qadevOOo/runner/util/DynamicClassLoader.java
+++ b/qadevOOo/runner/util/DynamicClassLoader.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -69,7 +69,7 @@ public class DynamicClassLoader {
}
/**
- * Get an instance of a class. The constructor matching to the
+ * Get an instance of a class. The constructor matching to the
* arguments is used and the arguments are given to this constructor.
* @param className The class to instantiate.
* @param ctorArgs Arguments for the constructor.
@@ -82,12 +82,12 @@ public class DynamicClassLoader {
ctorType[i] = ctorArgs[i].getClass();
}
return getInstance(className, ctorType, ctorArgs);
-
+
}
-
+
/**
- * Get an instance of a class. The constructor matching to the
- * given calss types is used and the instance is created using the arguments
+ * Get an instance of a class. The constructor matching to the
+ * given calss types is used and the instance is created using the arguments
* for the constructor.
* @param className The class to instantiate.
* @param ctorClassTypes The class types matching to the constructor.
@@ -100,7 +100,7 @@ public class DynamicClassLoader {
Class cls = DynamicClassLoader.forName(className);
Constructor ctor = cls.getConstructor(ctorClassTypes);
System.out.println("ctor: " + ctor.getName() + " " + ctor.getModifiers());
-
+
return ctor.newInstance(ctorArgs);
} catch ( ClassNotFoundException e ) {
throw new IllegalArgumentException("Couldn't find " + className