openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mik...@apache.org
Subject svn commit: r785315 - /openjpa/branches/1.3.x/openjpa-persistence/src/test/java/org/apache/openjpa/persistence/TestPersistenceProductDerivation.java
Date Tue, 16 Jun 2009 17:36:20 GMT
Author: mikedd
Date: Tue Jun 16 17:36:20 2009
New Revision: 785315

URL: http://svn.apache.org/viewvc?rev=785315&view=rev
Log:
OPENJPA-932 Cast doPriv call to Boolean.
	modified:   openjpa-persistence/src/test/java/org/apache/openjpa/persistence/TestPersistenceProductDerivation.java

Modified:
    openjpa/branches/1.3.x/openjpa-persistence/src/test/java/org/apache/openjpa/persistence/TestPersistenceProductDerivation.java

Modified: openjpa/branches/1.3.x/openjpa-persistence/src/test/java/org/apache/openjpa/persistence/TestPersistenceProductDerivation.java
URL: http://svn.apache.org/viewvc/openjpa/branches/1.3.x/openjpa-persistence/src/test/java/org/apache/openjpa/persistence/TestPersistenceProductDerivation.java?rev=785315&r1=785314&r2=785315&view=diff
==============================================================================
--- openjpa/branches/1.3.x/openjpa-persistence/src/test/java/org/apache/openjpa/persistence/TestPersistenceProductDerivation.java
(original)
+++ openjpa/branches/1.3.x/openjpa-persistence/src/test/java/org/apache/openjpa/persistence/TestPersistenceProductDerivation.java
Tue Jun 16 17:36:20 2009
@@ -82,8 +82,9 @@
         // and found numerous documented problems with deleting files. Perhaps
         // sometime in the future this problem will be fixed. For now it doesn't
         // really matter since we generate a new file every time.
-        boolean deleted = AccessController.doPrivileged(J2DoPrivHelper
-            .deleteAction(targetFile));
+        boolean deleted = 
+            (Boolean) AccessController.doPrivileged(J2DoPrivHelper.
+                deleteAction(targetFile));
         if(deleted==false){
             System.out.println("The file " + targetFile + " wasn't deleted.");
         }



Mime
View raw message