jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r945119 - /jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/NodeImplTest.java
Date Mon, 17 May 2010 12:48:49 GMT
Author: jukka
Date: Mon May 17 12:48:49 2010
New Revision: 945119

URL: http://svn.apache.org/viewvc?rev=945119&view=rev
Log:
JCR-2503: inconsistent session and persistent state after ReferentialIntegrityException

Remove the inline annotation that probably causes problems with Java 5

Modified:
    jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/NodeImplTest.java

Modified: jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/NodeImplTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/NodeImplTest.java?rev=945119&r1=945118&r2=945119&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/NodeImplTest.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/NodeImplTest.java
Mon May 17 12:48:49 2010
@@ -322,8 +322,7 @@ public class NodeImplTest extends Abstra
 
         try {
             root = testRootNode.getNode("testReferentialIntegrityCorruption");
-            for (@SuppressWarnings("unused") Node ignore
-                    : JcrUtils.getChildNodes(root)) {
+            for (Node ignore : JcrUtils.getChildNodes(root)) {
             }
         } catch (Exception e) {
             String msg = "JCR-2503: Failed to scan empty node. Corrupt session?";



Mime
View raw message