jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r833179 - in /jackrabbit/trunk/jackrabbit-jcr2spi/src/test/java/org/apache/jackrabbit/jcr2spi/lock: AbstractLockTest.java OpenScopedLockTest.java
Date Thu, 05 Nov 2009 21:25:05 GMT
Author: angela
Date: Thu Nov  5 21:25:05 2009
New Revision: 833179

URL: http://svn.apache.org/viewvc?rev=833179&view=rev
Log:
fix typos in comments and javadoc, improve comments

Modified:
    jackrabbit/trunk/jackrabbit-jcr2spi/src/test/java/org/apache/jackrabbit/jcr2spi/lock/AbstractLockTest.java
    jackrabbit/trunk/jackrabbit-jcr2spi/src/test/java/org/apache/jackrabbit/jcr2spi/lock/OpenScopedLockTest.java

Modified: jackrabbit/trunk/jackrabbit-jcr2spi/src/test/java/org/apache/jackrabbit/jcr2spi/lock/AbstractLockTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr2spi/src/test/java/org/apache/jackrabbit/jcr2spi/lock/AbstractLockTest.java?rev=833179&r1=833178&r2=833179&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr2spi/src/test/java/org/apache/jackrabbit/jcr2spi/lock/AbstractLockTest.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr2spi/src/test/java/org/apache/jackrabbit/jcr2spi/lock/AbstractLockTest.java
Thu Nov  5 21:25:05 2009
@@ -204,7 +204,7 @@
             assertTrue("First node locked: ", lockedNode.isLocked());
             assertTrue("Second node locked: ", lockedNode2.isLocked());
         } catch (RepositoryException e) {
-            // mk sure all locks are release again
+            // make sure all locks are release again
             lockedNode.unlock();
             lockedNode2.unlock();
             throw new RepositoryException(e);
@@ -219,7 +219,7 @@
             assertTrue("Second node locked: ", lockedNode2.isLocked());
 
         } finally {
-            // mk sure all locks are release again
+            // make sure all locks are release again
             lockedNode2.unlock();
         }
     }

Modified: jackrabbit/trunk/jackrabbit-jcr2spi/src/test/java/org/apache/jackrabbit/jcr2spi/lock/OpenScopedLockTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr2spi/src/test/java/org/apache/jackrabbit/jcr2spi/lock/OpenScopedLockTest.java?rev=833179&r1=833178&r2=833179&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr2spi/src/test/java/org/apache/jackrabbit/jcr2spi/lock/OpenScopedLockTest.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr2spi/src/test/java/org/apache/jackrabbit/jcr2spi/lock/OpenScopedLockTest.java
Thu Nov  5 21:25:05 2009
@@ -36,7 +36,7 @@
     }
 
     public void testLogoutHasNoEffect() throws Exception {
-        // create a second session session. since loggin-out the 'superuser'
+        // create a second session session. since logout of the 'superuser'
         // will cause all inherited tear-down to fail
         Node testRoot2 = (Node) otherSession.getItem(testRootNode.getPath());
 
@@ -47,7 +47,7 @@
         Lock lock2 = lockedNode2.lock(false, isSessionScoped());
 
         // force reloading of the testroot in order to be aware of the
-        // locked noded added by another session
+        // locked node added by another session
         testRootNode.refresh(false);
         Node n2 = (Node) superuser.getItem(lockedNode2.getPath());
         try {



Mime
View raw message