jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r833182 - in /jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/state: ItemState.java ItemStateValidator.java NodeState.java PropertyState.java WorkspaceItemStateFactory.java
Date Thu, 05 Nov 2009 21:28:22 GMT
Author: angela
Date: Thu Nov  5 21:28:22 2009
New Revision: 833182

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

Modified:
    jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/state/ItemState.java
    jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/state/ItemStateValidator.java
    jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/state/NodeState.java
    jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/state/PropertyState.java
    jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/state/WorkspaceItemStateFactory.java

Modified: jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/state/ItemState.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/state/ItemState.java?rev=833182&r1=833181&r2=833182&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/state/ItemState.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/state/ItemState.java
Thu Nov  5 21:28:22 2009
@@ -115,7 +115,7 @@
      */
     private static int getInitialStatus(NodeEntry parent) {
         int status = Status.EXISTING;
-        // walk up hiearchy and check if any of the parents is transiently
+        // walk up hierarchy and check if any of the parents is transiently
         // removed, in which case the status must be set to EXISTING_REMOVED.
         while (parent != null) {
             if (parent.getStatus() == Status.EXISTING_REMOVED) {

Modified: jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/state/ItemStateValidator.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/state/ItemStateValidator.java?rev=833182&r1=833181&r2=833182&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/state/ItemStateValidator.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/state/ItemStateValidator.java
Thu Nov  5 21:28:22 2009
@@ -550,7 +550,7 @@
         NodeEntry parentEntry = (NodeEntry) parentState.getHierarchyEntry();
          // NOTE: check for name collisions with existing child node has been
          // removed as with JSR 283 having same-named node and property can be
-         // allowed. thus delegate the correspoding validation to the underlying
+         // allowed. thus delegate the corresponding validation to the underlying
          // SPI implementation.
 
         // check for name collisions with an existing property
@@ -578,7 +578,7 @@
     private void checkCollision(NodeState parentState, Name nodeName, Name nodeTypeName)
throws RepositoryException, ConstraintViolationException, NoSuchNodeTypeException {
          // NOTE: check for name collisions with existing child property has been
          // removed as with JSR 283 having same-named node and property may be
-         // allowed. thus delegate the correspoding validation to the underlying
+         // allowed. thus delegate the corresponding validation to the underlying
          // SPI implementation.
 
          // check for conflict with existing same-name sibling node.

Modified: jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/state/NodeState.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/state/NodeState.java?rev=833182&r1=833181&r2=833182&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/state/NodeState.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/state/NodeState.java
Thu Nov  5 21:28:22 2009
@@ -450,7 +450,7 @@
             /*
              Don't use getAllNodeTypeNames() to retrieve the definition:
              for NEW-states the definition is always set upon creation.
-             for all other states the definion must be retrieved only taking
+             for all other states the definition must be retrieved only taking
              the effective nodetypes present on the parent into account
              any kind of transiently added mixins must not have an effect
              on the definition retrieved for an state that has been persisted

Modified: jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/state/PropertyState.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/state/PropertyState.java?rev=833182&r1=833181&r2=833182&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/state/PropertyState.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/state/PropertyState.java
Thu Nov  5 21:28:22 2009
@@ -207,7 +207,7 @@
             /*
             Don't pass 'all-nodetypes from parent':
             for NEW-states the definition is always set upon creation.
-            for all other states the definion must be retrieved only taking
+            for all other states the definition must be retrieved only taking
             the effective nodetypes present on the parent into account
             any kind of transiently added mixins must not have an effect
             on the definition retrieved for an state that has been persisted
@@ -355,7 +355,7 @@
         }
 
         private void setValues(int type, QValue[] values) throws ConstraintViolationException,
RepositoryException {
-            // make sure the arguements are consistent and do not violate the
+            // make sure the arguments are consistent and do not violate the
             // given property definition.
             validate(values, type, getDefinition());
             // free old values if existing

Modified: jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/state/WorkspaceItemStateFactory.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/state/WorkspaceItemStateFactory.java?rev=833182&r1=833181&r2=833182&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/state/WorkspaceItemStateFactory.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/state/WorkspaceItemStateFactory.java
Thu Nov  5 21:28:22 2009
@@ -281,7 +281,7 @@
         }
 
         // unless the child-info are omitted by the SPI impl -> make sure
-        // the childentries the nodeentry are initialized or updated.
+        // the child entries the node entry are initialized or updated.
         Iterator<ChildInfo> childInfos = info.getChildInfos();
         if (childInfos != null) {
             entry.setNodeEntries(childInfos);



Mime
View raw message