jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thom...@apache.org
Subject svn commit: r1207056 - /jackrabbit/sandbox/microkernel/src/test/java/org/apache/jackrabbit/mk/ConflictingMoveTest.java
Date Mon, 28 Nov 2011 10:37:40 GMT
Author: thomasm
Date: Mon Nov 28 10:37:36 2011
New Revision: 1207056

URL: http://svn.apache.org/viewvc?rev=1207056&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=1207056&r1=1207055&r2=1207056&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
Mon Nov 28 10:37:36 2011
@@ -48,7 +48,7 @@ public class ConflictingMoveTest extends
         head = mk.commit("/", "+\"x\" : {} \r+\"y\" : {}\n", head, "");
 
         try {
-            String r1 = mk.commit("/", ">\"x\" : \"y\"", head, "");
+            mk.commit("/", ">\"x\" : \"y\"", head, "");
             fail("expected to fail since /y already exists");
         } catch (MicroKernelException e) {
             // expected
@@ -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, "");
             fail("expected to fail since /a doesn't exist");
         } catch (MicroKernelException e) {
             // expected
@@ -86,7 +86,7 @@ public class ConflictingMoveTest extends
         assertTrue(mk.nodeExists("/a/x", r1));
 
         try {
-            String r2 = mk.commit("/", "-\"a\" \r +\"b/x\" : {}", head, "");
+            mk.commit("/", "-\"a\" \r +\"b/x\" : {}", head, "");
         } catch (MicroKernelException e) {
             // expected to fail since /b doesn't exist anymore
             return;



Mime
View raw message