db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c..@apache.org
Subject svn commit: r637477 - in /db/jdo/branches/2.1: api2-legacy/src/java/javax/jdo/JDOHelper.java api2/src/java/javax/jdo/JDOHelper.java
Date Sat, 15 Mar 2008 21:21:20 GMT
Author: clr
Date: Sat Mar 15 14:21:11 2008
New Revision: 637477

URL: http://svn.apache.org/viewvc?rev=637477&view=rev
Log:
JDO-582 Argument to JDOFatalUserException needs cast to Throwable[]

Modified:
    db/jdo/branches/2.1/api2-legacy/src/java/javax/jdo/JDOHelper.java
    db/jdo/branches/2.1/api2/src/java/javax/jdo/JDOHelper.java

Modified: db/jdo/branches/2.1/api2-legacy/src/java/javax/jdo/JDOHelper.java
URL: http://svn.apache.org/viewvc/db/jdo/branches/2.1/api2-legacy/src/java/javax/jdo/JDOHelper.java?rev=637477&r1=637476&r2=637477&view=diff
==============================================================================
--- db/jdo/branches/2.1/api2-legacy/src/java/javax/jdo/JDOHelper.java (original)
+++ db/jdo/branches/2.1/api2-legacy/src/java/javax/jdo/JDOHelper.java Sat Mar 15 14:21:11
2008
@@ -737,7 +737,8 @@
         
         throw new JDOFatalUserException(msg.msg(
                 "EXC_GetPMFNoPMFClassNamePropertyOrPUNameProperty"),
-                exceptions.toArray(new Throwable[exceptions.size()]));
+                (Throwable[])
+                    exceptions.toArray(new Throwable[exceptions.size()]));
     }
 
     /** Get a class name from a URL. The URL is from getResources with 

Modified: db/jdo/branches/2.1/api2/src/java/javax/jdo/JDOHelper.java
URL: http://svn.apache.org/viewvc/db/jdo/branches/2.1/api2/src/java/javax/jdo/JDOHelper.java?rev=637477&r1=637476&r2=637477&view=diff
==============================================================================
--- db/jdo/branches/2.1/api2/src/java/javax/jdo/JDOHelper.java (original)
+++ db/jdo/branches/2.1/api2/src/java/javax/jdo/JDOHelper.java Sat Mar 15 14:21:11 2008
@@ -812,7 +812,8 @@
         
         throw new JDOFatalUserException(msg.msg(
                 "EXC_GetPMFNoPMFClassNamePropertyOrPUNameProperty"),
-                exceptions.toArray(new Throwable[exceptions.size()]));
+                (Throwable[])
+                    exceptions.toArray(new Throwable[exceptions.size()]));
     }
 
     /** Get a class name from a URL. The URL is from getResources with 



Mime
View raw message