jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thom...@apache.org
Subject svn commit: r1213755 - /jackrabbit/sandbox/microkernel/src/test/java/org/apache/jackrabbit/mk/ConflictingMoveTest.java
Date Tue, 13 Dec 2011 15:57:21 GMT
Author: thomasm
Date: Tue Dec 13 15:57:21 2011
New Revision: 1213755

URL: http://svn.apache.org/viewvc?rev=1213755&view=rev
Log:
Remove unused variables.

Modified:
    jackrabbit/sandbox/microkernel/src/test/java/org/apache/jackrabbit/mk/ConflictingMoveTest.java

Modified: jackrabbit/sandbox/microkernel/src/test/java/org/apache/jackrabbit/mk/ConflictingMoveTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/microkernel/src/test/java/org/apache/jackrabbit/mk/ConflictingMoveTest.java?rev=1213755&r1=1213754&r2=1213755&view=diff
==============================================================================
--- jackrabbit/sandbox/microkernel/src/test/java/org/apache/jackrabbit/mk/ConflictingMoveTest.java
(original)
+++ jackrabbit/sandbox/microkernel/src/test/java/org/apache/jackrabbit/mk/ConflictingMoveTest.java
Tue Dec 13 15:57:21 2011
@@ -54,7 +54,7 @@ public class ConflictingMoveTest extends
             // expected
         }
     }
-    
+
     @Test
     public void conflictingMove() {
         String head = mk.getHeadRevision();
@@ -67,7 +67,7 @@ public class ConflictingMoveTest extends
         assertTrue(mk.nodeExists("/b/a", r1));
 
         try {
-            String r2 = mk.commit("/", ">\"b\" : \"a/b\"", head, "");
+            mk.commit("/", ">\"b\" : \"a/b\"", head, "");
         } catch (MicroKernelException e) {
             // expected to fail since /a doesn't exist anymore
             return;
@@ -87,7 +87,7 @@ public class ConflictingMoveTest extends
         assertTrue(mk.nodeExists("/a/x", r1));
 
         try {
-            String r2 = mk.commit("/", "-\"a\" \n +\"b/x\" : {}", head, "");
+            mk.commit("/", "-\"a\" \n +\"b/x\" : {}", head, "");
         } catch (MicroKernelException e) {
             // expected to fail since /b doesn't exist anymore
             return;



Mime
View raw message