db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c..@apache.org
Subject svn commit: r280731 - /incubator/jdo/trunk/ri11/src/java/org/apache/jdo/impl/pm/PersistenceManagerImpl.java
Date Wed, 14 Sep 2005 01:12:11 GMT
Author: clr
Date: Tue Sep 13 18:12:09 2005
New Revision: 280731

URL: http://svn.apache.org/viewcvs?rev=280731&view=rev
Log:
JDO-135 JDK 1.5 compiler warnings. Patch provided by Karan Malhi

Modified:
    incubator/jdo/trunk/ri11/src/java/org/apache/jdo/impl/pm/PersistenceManagerImpl.java

Modified: incubator/jdo/trunk/ri11/src/java/org/apache/jdo/impl/pm/PersistenceManagerImpl.java
URL: http://svn.apache.org/viewcvs/incubator/jdo/trunk/ri11/src/java/org/apache/jdo/impl/pm/PersistenceManagerImpl.java?rev=280731&r1=280730&r2=280731&view=diff
==============================================================================
--- incubator/jdo/trunk/ri11/src/java/org/apache/jdo/impl/pm/PersistenceManagerImpl.java (original)
+++ incubator/jdo/trunk/ri11/src/java/org/apache/jdo/impl/pm/PersistenceManagerImpl.java Tue
Sep 13 18:12:09 2005
@@ -1177,10 +1177,10 @@
         Object obj = null;
 
         try {
-            Constructor constr = newType.getConstructor(null);
+            Constructor constr = newType.getConstructor((Class[])null);
 
             if (constr != null) {
-                obj = constr.newInstance(null);
+                obj = constr.newInstance((Object[])null);
             }
         } catch (Exception e) {
             throw new JDOUserException(msg.msg(



Mime
View raw message