Author: tdraier
Date: Tue Jan 10 11:43:37 2006
New Revision: 12727

URL: https://jahia.mine.nu/websvn/listing.php?sc=1&rev=12727&repname=jahia
Log:
java 1.5 compat

Modified:
    trunk/core/src/java/org/jahia/registries/EnginesRegistry.java

Modified: trunk/core/src/java/org/jahia/registries/EnginesRegistry.java
URL: 
https://jahia.mine.nu/websvn/diff.php?path=/trunk/core/src/java/org/jahia/registries/EnginesRegistry.java&rev=12727&repname=jahia
==============================================================================
--- trunk/core/src/java/org/jahia/registries/EnginesRegistry.java (original)
+++ trunk/core/src/java/org/jahia/registries/EnginesRegistry.java Tue Jan 10 
11:43:37 2006
@@ -144,11 +144,11 @@
         logger.debug ("Attempting to instantiate engine class [" + className + 
"]");
         try {
             Class self = Class.forName (className);
-            java.lang.reflect.Method aMethod = self.getMethod ("getInstance", 
null);
+            java.lang.reflect.Method aMethod = self.getMethod ("getInstance", 
(Class[])null);
 
             if (aMethod != null) {
                 try {
-                    engine = (JahiaEngine) aMethod.invoke (self, null);
+                    engine = (JahiaEngine) aMethod.invoke (self, 
(Object[])null);
 
                 } catch (java.lang.reflect.InvocationTargetException ite) {
                     logger.error ("Error while invoking singleton constructor 
for class [" +

Reply via email to