jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r833178 - in /jackrabbit/trunk/jackrabbit-jcr2spi/src/test/java/org/apache/jackrabbit/jcr2spi: ExternalModificationTest.java IsSameTest.java MoveToNewTest.java ReorderMoveTest.java UpdateTest.java
Date Thu, 05 Nov 2009 21:24:16 GMT
Author: angela
Date: Thu Nov  5 21:24:14 2009
New Revision: 833178

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

Modified:
    jackrabbit/trunk/jackrabbit-jcr2spi/src/test/java/org/apache/jackrabbit/jcr2spi/ExternalModificationTest.java
    jackrabbit/trunk/jackrabbit-jcr2spi/src/test/java/org/apache/jackrabbit/jcr2spi/IsSameTest.java
    jackrabbit/trunk/jackrabbit-jcr2spi/src/test/java/org/apache/jackrabbit/jcr2spi/MoveToNewTest.java
    jackrabbit/trunk/jackrabbit-jcr2spi/src/test/java/org/apache/jackrabbit/jcr2spi/ReorderMoveTest.java
    jackrabbit/trunk/jackrabbit-jcr2spi/src/test/java/org/apache/jackrabbit/jcr2spi/UpdateTest.java

Modified: jackrabbit/trunk/jackrabbit-jcr2spi/src/test/java/org/apache/jackrabbit/jcr2spi/ExternalModificationTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr2spi/src/test/java/org/apache/jackrabbit/jcr2spi/ExternalModificationTest.java?rev=833178&r1=833177&r2=833178&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr2spi/src/test/java/org/apache/jackrabbit/jcr2spi/ExternalModificationTest.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr2spi/src/test/java/org/apache/jackrabbit/jcr2spi/ExternalModificationTest.java
Thu Nov  5 21:24:14 2009
@@ -198,7 +198,7 @@
         testSession.getItem(destPath);
 
         assertItemStatus(refNode2, Status.STALE_DESTROYED);
-        // the uuid must be transfered to the 'moved' node
+        // the uuid must be transferred to the 'moved' node
         Node n = testSession.getNodeByUUID(uuid);
         // TODO: for generic jsr 170 test assertSame must be replace by 'Item.isSame'
         assertSame(n, testSession.getItem(destPath));
@@ -221,7 +221,7 @@
         }
 
         assertItemStatus(refNode2, Status.REMOVED);
-        // the uuid must be transfered to the 'moved' node
+        // the uuid must be transferred to the 'moved' node
         Node n = testSession.getNodeByUUID(uuid);
         // TODO: for generic jsr 170 test assertSame must be replace by 'Item.isSame'
         assertSame(n, testSession.getItem(destPath));

Modified: jackrabbit/trunk/jackrabbit-jcr2spi/src/test/java/org/apache/jackrabbit/jcr2spi/IsSameTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr2spi/src/test/java/org/apache/jackrabbit/jcr2spi/IsSameTest.java?rev=833178&r1=833177&r2=833178&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr2spi/src/test/java/org/apache/jackrabbit/jcr2spi/IsSameTest.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr2spi/src/test/java/org/apache/jackrabbit/jcr2spi/IsSameTest.java
Thu Nov  5 21:24:14 2009
@@ -69,7 +69,7 @@
     }
 
     public void testIsSameProperty3() throws RepositoryException {
-        // create a node (nt:resource) that implicitely is referenceable
+        // create a node (nt:resource) that implicitly is referenceable
         Node n = testRootNode.addNode("aFile", "nt:file");
         n = n.addNode("jcr:content", "nt:resource");
         n.setProperty("jcr:lastModified", Calendar.getInstance());
@@ -88,7 +88,7 @@
     }
 
     public void testIsSameProperty4() throws RepositoryException {
-        // create a node (nt:resource) that implicitely is referenceable
+        // create a node (nt:resource) that implicitly is referenceable
         Node n = testRootNode.addNode("aFile", "nt:file");
         n = n.addNode("jcr:content", "nt:resource");
         n.setProperty("jcr:lastModified", Calendar.getInstance());
@@ -107,7 +107,7 @@
     }
 
     public void testIsSameNode() throws RepositoryException {
-        // create a node (nt:resource) that implicitely is referenceable
+        // create a node (nt:resource) that implicitly is referenceable
         Node n = testRootNode.addNode("aFile", "nt:file");
         n = n.addNode("jcr:content", "nt:resource");
         n.setProperty("jcr:lastModified", Calendar.getInstance());
@@ -126,7 +126,7 @@
     }
 
     public void testIsSameNode2() throws RepositoryException {
-        // create a node (nt:resource) that implicitely is referenceable
+        // create a node (nt:resource) that implicitly is referenceable
         Node n = testRootNode.addNode("aFile", "nt:file");
         n = n.addNode("jcr:content", "nt:resource");
         n.setProperty("jcr:lastModified", Calendar.getInstance());

Modified: jackrabbit/trunk/jackrabbit-jcr2spi/src/test/java/org/apache/jackrabbit/jcr2spi/MoveToNewTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr2spi/src/test/java/org/apache/jackrabbit/jcr2spi/MoveToNewTest.java?rev=833178&r1=833177&r2=833178&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr2spi/src/test/java/org/apache/jackrabbit/jcr2spi/MoveToNewTest.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr2spi/src/test/java/org/apache/jackrabbit/jcr2spi/MoveToNewTest.java
Thu Nov  5 21:24:14 2009
@@ -144,7 +144,7 @@
         assertTrue(destParentNode.isNew());
         assertFalse(destParentNode.hasNode(nodeName2));
 
-        // remove the tmp dest parent node.
+        // remove the tmp destination parent node.
         destParentNode.remove();
 
         assertTrue(newParent.isNew());

Modified: jackrabbit/trunk/jackrabbit-jcr2spi/src/test/java/org/apache/jackrabbit/jcr2spi/ReorderMoveTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr2spi/src/test/java/org/apache/jackrabbit/jcr2spi/ReorderMoveTest.java?rev=833178&r1=833177&r2=833178&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr2spi/src/test/java/org/apache/jackrabbit/jcr2spi/ReorderMoveTest.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr2spi/src/test/java/org/apache/jackrabbit/jcr2spi/ReorderMoveTest.java
Thu Nov  5 21:24:14 2009
@@ -143,7 +143,7 @@
         assertFalse(srcParent.hasNode(snsName+"[4]"));
         assertFalse(srcParent.hasNode(snsName+"[5]"));
 
-        // check if move have been successfull
+        // check if move have been successful
         assertEquals(children[2].getPath(), destPath);
         assertTrue(children[2].getIndex() == Path.INDEX_DEFAULT);
         assertEquals(children[1].getPath(), destPath+"[2]");

Modified: jackrabbit/trunk/jackrabbit-jcr2spi/src/test/java/org/apache/jackrabbit/jcr2spi/UpdateTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr2spi/src/test/java/org/apache/jackrabbit/jcr2spi/UpdateTest.java?rev=833178&r1=833177&r2=833178&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr2spi/src/test/java/org/apache/jackrabbit/jcr2spi/UpdateTest.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr2spi/src/test/java/org/apache/jackrabbit/jcr2spi/UpdateTest.java
Thu Nov  5 21:24:14 2009
@@ -164,7 +164,7 @@
             // call the update method on test node in default workspace
             testRootNode.update(srcWorkspace);
 
-            // ok first check if node has no longer propertis
+            // ok first check if node has no longer properties
             assertFalse("Node updated with Node.update() should have property removed", testRootNode.hasProperty(propertyName2));
         } catch (PathNotFoundException e) {
             throw new NotExecutableException();



Mime
View raw message