jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r833181 - in /jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/hierarchy: HierarchyEntryImpl.java HierarchyEventListener.java NodeEntryImpl.java
Date Thu, 05 Nov 2009 21:26:53 GMT
Author: angela
Date: Thu Nov  5 21:26:53 2009
New Revision: 833181

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

Modified:
    jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/hierarchy/HierarchyEntryImpl.java
    jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/hierarchy/HierarchyEventListener.java
    jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/hierarchy/NodeEntryImpl.java

Modified: jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/hierarchy/HierarchyEntryImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/hierarchy/HierarchyEntryImpl.java?rev=833181&r1=833180&r2=833181&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/hierarchy/HierarchyEntryImpl.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/hierarchy/HierarchyEntryImpl.java
Thu Nov  5 21:26:53 2009
@@ -307,14 +307,14 @@
                 parent.internalRemoveChildEntry(this);
                 break;
             case Status.STALE_DESTROYED:
-                // overlayed does not exist any more -> reverting of pending
+                // state does not exist any more -> reverting of pending
                 // transient changes (that lead to the stale status) can be
                 // omitted and the entry is complete removed instead.
                 remove();
                 break;
             default:
                 // Cannot revert EXISTING, REMOVED, INVALIDATED, MODIFIED states.
-                // State was implicitely reverted or external modifications
+                // State was implicitly reverted or external modifications
                 // reverted the modification.
                 log.debug("State with status " + oldStatus + " cannot be reverted.");
         }

Modified: jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/hierarchy/HierarchyEventListener.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/hierarchy/HierarchyEventListener.java?rev=833181&r1=833180&r2=833181&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/hierarchy/HierarchyEventListener.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/hierarchy/HierarchyEventListener.java
Thu Nov  5 21:26:53 2009
@@ -59,7 +59,7 @@
                 Path root = wspManager.getPathFactory().getRootPath();
                 filter = wspManager.createEventFilter(Event.ALL_TYPES, root, true, null,
null, true);
             } catch (RepositoryException e) {
-                // spi does not support observation, or another error occurred.
+                // SPI does not support observation, or another error occurred.
                 log.debug("Creating event filter for cache behavoir observation failed",
e);
             }
             if (filter == null) {

Modified: jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/hierarchy/NodeEntryImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/hierarchy/NodeEntryImpl.java?rev=833181&r1=833180&r2=833181&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/hierarchy/NodeEntryImpl.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/hierarchy/NodeEntryImpl.java
Thu Nov  5 21:26:53 2009
@@ -425,10 +425,10 @@
                /*
                 * Unknown entry (not-existing or not yet loaded):
                 * Skip all intermediate entries and directly try to load the ItemState
-                * (including building the itermediate entries. If that fails
+                * (including building the intermediate entries. If that fails
                 * ItemNotFoundException is thrown.
                 *
-                * Since 'path' might be ambigous (Node or Property):
+                * Since 'path' might be ambiguous (Node or Property):
                 * 1) first try Node
                 * 2) if the NameElement does not have SNS-index => try Property
                 * 3) else throw
@@ -508,7 +508,7 @@
             * Unknown parent entry (not-existing or not yet loaded) or a parent
             * entry that has been invalidated:
             * Skip all intermediate entries and directly try to load the
-            * PropertyState (including building the itermediate entries. If that
+            * PropertyState (including building the intermediate entries. If that
             * fails ItemNotFoundException is thrown.
             */
             PathBuilder pb = new PathBuilder(getPathFactory());
@@ -883,7 +883,7 @@
                } else {
                    // entry is either rename OR moved back to it's original
                    // parent. for the latter case make sure, there is no attic
-                   // entry remaing refering to the entry that is being added.
+                   // entry remaining referring to the entry that is being added.
                    revertInfo.oldParent.childNodeAttic.remove(this);
                }
            }
@@ -1577,7 +1577,7 @@
         if (he != this) {
             throw new IllegalArgumentException();
         }
-        // NOTE: if reorder occured in combination with a 'move' the clean-up
+        // NOTE: if reorder occurred in combination with a 'move' the clean-up
         // of the revertInfo is postponed until {@link #complete(Move)}.
         switch (operation.getStatus()) {
             case Operation.STATUS_PERSISTED:



Mime
View raw message