jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r642264 - in /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core: ./ state/
Date Fri, 28 Mar 2008 15:33:29 GMT
Author: jukka
Date: Fri Mar 28 08:33:25 2008
New Revision: 642264

URL: http://svn.apache.org/viewvc?rev=642264&view=rev
Log:
JCR-73: Improve Javadoc documentation
    - spellchecking

Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/BatchedItemOperations.java
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/DefaultSecurityManager.java
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/HierarchyManager.java
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/HierarchyManagerImpl.java
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/ItemImpl.java
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/ItemManager.java
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/LocalNamespaceMappings.java
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/NodeIdIterator.java
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/NodeImpl.java
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/RepositoryImpl.java
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/WorkspaceImpl.java
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/CacheAccessListener.java
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/CacheManager.java
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/ItemStateCache.java
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/NodeState.java
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/NodeStateMerger.java
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/SessionItemStateManager.java
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/SharedItemStateManager.java

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/BatchedItemOperations.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/BatchedItemOperations.java?rev=642264&r1=642263&r2=642264&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/BatchedItemOperations.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/BatchedItemOperations.java
Fri Mar 28 08:33:25 2008
@@ -148,7 +148,7 @@
      * At the end of this operation, either {@link #update} or {@link #cancel}
      * must be invoked.
      *
-     * @throws IllegalStateException if the state mananger is already in edit mode
+     * @throws IllegalStateException if the state manager is already in edit mode
      */
     public void edit() throws IllegalStateException {
         stateMgr.edit();
@@ -176,11 +176,11 @@
 
     /**
      * End an update operation. This will save all changes made since
-     * the last invokation of {@link #edit()}. If this operation fails,
+     * the last invocation of {@link #edit()}. If this operation fails,
      * no item will have been saved.
      *
      * @throws RepositoryException   if the update operation failed
-     * @throws IllegalStateException if the state mananger is not in edit mode
+     * @throws IllegalStateException if the state manager is not in edit mode
      */
     public void update() throws RepositoryException, IllegalStateException {
         try {
@@ -194,9 +194,9 @@
 
     /**
      * Cancel an update operation. This will undo all changes made since
-     * the last invokation of {@link #edit()}.
+     * the last invocation of {@link #edit()}.
      *
-     * @throws IllegalStateException if the state mananger is not in edit mode
+     * @throws IllegalStateException if the state manager is not in edit mode
      */
     public void cancel() throws IllegalStateException {
         stateMgr.cancel();
@@ -468,7 +468,7 @@
      * @throws ItemExistsException
      * @throws LockException
      * @throws RepositoryException
-     * @throws IllegalStateException        if the state mananger is not in edit mode
+     * @throws IllegalStateException        if the state manager is not in edit mode
      */
     public NodeId move(Path srcPath, Path destPath)
             throws ConstraintViolationException, VersionException,

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/DefaultSecurityManager.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/DefaultSecurityManager.java?rev=642264&r1=642263&r2=642264&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/DefaultSecurityManager.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/DefaultSecurityManager.java
Fri Mar 28 08:33:25 2008
@@ -325,8 +325,8 @@
     /**
      * Creates an AuthContext for the given {@link Credentials} and
      * {@link Subject}.<br>
-     * This includes selection of applicatoin specific LoginModules and
-     * initalization with credentials and Session to System-Workspace
+     * This includes selection of application specific LoginModules and
+     * initialization with credentials and Session to System-Workspace
      *
      * @return an {@link AuthContext} for the given Credentials, Subject
      * @throws RepositoryException in other exceptional repository states

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/HierarchyManager.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/HierarchyManager.java?rev=642264&r1=642263&r2=642264&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/HierarchyManager.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/HierarchyManager.java
Fri Mar 28 08:33:25 2008
@@ -42,7 +42,7 @@
      * {@link #resolvePropertyPath(Path)} should be used instead.
      *
      * @param path path to resolve
-     * @return item id refered to by <code>path</code> or <code>null</code>
+     * @return item id referred to by <code>path</code> or <code>null</code>
      *         if there's no item at <code>path</code>.
      * @throws RepositoryException if an error occurs
      */
@@ -56,7 +56,7 @@
      * node to be found at <code>path</code>.
      *
      * @param path path to resolve
-     * @return node id refered to by <code>path</code> or <code>null</code>
+     * @return node id referred to by <code>path</code> or <code>null</code>
      *         if there's no node at <code>path</code>.
      * @throws RepositoryException if an error occurs
      */
@@ -70,7 +70,7 @@
      * property to be found at <code>path</code>.
      *
      * @param path path to resolve
-     * @return property id refered to by <code>path</code> or <code>null</code>
+     * @return property id referred to by <code>path</code> or <code>null</code>
      *         if there's no property at <code>path</code>.
      * @throws RepositoryException if an error occurs
      */

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/HierarchyManagerImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/HierarchyManagerImpl.java?rev=642264&r1=642263&r2=642264&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/HierarchyManagerImpl.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/HierarchyManagerImpl.java
Fri Mar 28 08:33:25 2008
@@ -116,7 +116,7 @@
      *                    node (<code>true</code>) or a property (<code>false</code>)
      * @return the id of the item denoted by <code>path</code> or
      *         <code>null</code> if no item exists at <code>path</code>.
-     * @throws ItemStateException if an error occured
+     * @throws ItemStateException if an error occurred
      */
     private ItemId resolvePath(Path path, ItemState state, int next,
                                  boolean denotesNode)
@@ -153,7 +153,7 @@
                     return new PropertyId(parentState.getNodeId(), name);
                 }
             }
-            // no such itemn
+            // no such item
             return null;
         }
 
@@ -265,7 +265,7 @@
      * @param denotesNode flag indicating whether <code>path</code> refers to
a
      *                    node (<code>true</code>) or a property (<code>false</code>)
      * @return the id of the item denoted by <code>path</code>
-     * @throws RepositoryException if an error occured
+     * @throws RepositoryException if an error occurred
      */
     protected ItemId resolvePath(Path path, ItemId id, int next,
                                  boolean denotesNode)

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/ItemImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/ItemImpl.java?rev=642264&r1=642263&r2=642264&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/ItemImpl.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/ItemImpl.java
Fri Mar 28 08:33:25 2008
@@ -125,7 +125,7 @@
      * @param session   the <code>Session</code> through which this <code>Item</code>
is acquired
      * @param id        id of this <code>Item</code>
      * @param state     state associated with this <code>Item</code>
-     * @param listeners listeners on life cylce changes of this <code>ItemImpl</code>
+     * @param listeners listeners on life cycle changes of this <code>ItemImpl</code>
      */
     ItemImpl(ItemManager itemMgr, SessionImpl session, ItemId id, ItemState state,
              ItemLifeCycleListener[] listeners) {
@@ -585,7 +585,7 @@
                             EffectiveNodeType.checkSetPropertyValueConstraints(
                                     def.unwrap(), values);
                         } catch (RepositoryException e) {
-                            // repack exception for providing verboser error message
+                            // repack exception for providing more verbose error message
                             String msg = itemMgr.safeGetJCRPath(propId) + ": " + e.getMessage();
                             log.debug(msg);
                             throw new ConstraintViolationException(msg);
@@ -706,7 +706,7 @@
 
     private void restoreTransientItems(Iterator iter) {
 
-        // walk through list of transient states and reapply transient changes
+        // walk through list of transient states and re-apply transient changes
         while (iter.hasNext()) {
             ItemState itemState = (ItemState) iter.next();
             ItemId id = itemState.getId();
@@ -741,7 +741,7 @@
                     }
                 }
                 if (!item.isTransient()) {
-                    // reapply transient changes (i.e. undo effect of item.makePersistent())
+                    // re-apply transient changes (i.e. undo effect of item.makePersistent())
                     if (item.isNode()) {
                         NodeImpl node = (NodeImpl) item;
                         node.restoreTransient((NodeState) itemState);
@@ -1158,7 +1158,7 @@
 
             /**
              * make sure that this save operation is totally 'self-contained'
-             * and independant; items within the scope of this save operation
+             * and independent; items within the scope of this save operation
              * must not have 'external' dependencies;
              * (e.g. moving a node requires that the target node including both
              * old and new parents are saved)

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/ItemManager.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/ItemManager.java?rev=642264&r1=642263&r2=642264&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/ItemManager.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/ItemManager.java
Fri Mar 28 08:33:25 2008
@@ -58,7 +58,7 @@
  * instance. It is the factory for <code>Node</code> and <code>Property</code>
  * instances.
  * <p/>
- * The <code>ItemManager</code>'s responsabilities are:
+ * The <code>ItemManager</code>'s responsibilities are:
  * <ul>
  * <li>providing access to <code>Item</code> instances by <code>ItemId</code>
  * whereas <code>Node</code> and <code>Item</code> are only providing
relative access.

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/LocalNamespaceMappings.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/LocalNamespaceMappings.java?rev=642264&r1=642263&r2=642264&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/LocalNamespaceMappings.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/LocalNamespaceMappings.java
Fri Mar 28 08:33:25 2008
@@ -240,7 +240,7 @@
                 // a different prefix there's no collision
                 return;
             }
-            // need to change enw prefix locally by appending underscore(s)
+            // need to change new prefix locally by appending underscore(s)
             // in order to guarantee unambiguous mappings
             String uniquePrefix = newPrefix + "_";
             while (prefixToURI.containsKey(uniquePrefix)) {

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/NodeIdIterator.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/NodeIdIterator.java?rev=642264&r1=642263&r2=642264&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/NodeIdIterator.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/NodeIdIterator.java
Fri Mar 28 08:33:25 2008
@@ -20,14 +20,14 @@
 import java.util.NoSuchElementException;
 
 /**
- * <code>NodeIdIterator</code> extends the Iterator iterface by the NodeId
+ * <code>NodeIdIterator</code> extends the Iterator interface by the NodeId
  * specific methods.
  */
 public interface NodeIdIterator extends Iterator {
 
     /**
-     * Returns the next nodeid in the iteration.
-     * @return the next nodeid.
+     * Returns the next node id in the iteration.
+     * @return the next node id.
      *
      * @throws NoSuchElementException
      */

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/NodeImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/NodeImpl.java?rev=642264&r1=642263&r2=642264&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/NodeImpl.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/NodeImpl.java
Fri Mar 28 08:33:25 2008
@@ -263,7 +263,7 @@
      *
      * @return <code>true</code> if there are pending unsaved changes,
      *         <code>false</code> otherwise.
-     * @throws RepositoryException if an error occured
+     * @throws RepositoryException if an error occurred
      */
     protected boolean hasPendingChanges() throws RepositoryException {
         if (isTransient()) {
@@ -1013,7 +1013,7 @@
             thisState.setStatus(ItemState.STATUS_NEW);
             stateMgr.disconnectTransientItemState(thisState);
         }
-        // reapply transient changes
+        // re-apply transient changes
         thisState.setParentId(transientState.getParentId());
         thisState.setMixinTypeNames(transientState.getMixinTypeNames());
         thisState.setDefinitionId(transientState.getDefinitionId());
@@ -3789,7 +3789,7 @@
      * eventual mixin types stored in the frozen node. The same as
      * <code>{@link #addNode(String relPath)}</code> except that the primary
      * node type type, the uuid and evt. mixin type of the new node is
-     * explictly specified in the nt:frozen node.
+     * explicitly specified in the nt:frozen node.
      * <p/>
      *
      * @param relPath The path of the new <code>Node</code> that is to be created.
@@ -4004,7 +4004,7 @@
      *
      * @param version
      * @param vsel    the version selector that will select the correct version for
-     *                OPV=Version childnodes.
+     *                OPV=Version child nodes.
      * @throws UnsupportedRepositoryOperationException
      *
      * @throws RepositoryException
@@ -4032,7 +4032,7 @@
      *
      * @param version
      * @param vsel           the version selector that will select the correct version for
-     *                       OPV=Version childnodes.
+     *                       OPV=Version child nodes.
      * @param removeExisting
      * @throws RepositoryException
      */

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/RepositoryImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/RepositoryImpl.java?rev=642264&r1=642263&r2=642264&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/RepositoryImpl.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/RepositoryImpl.java
Fri Mar 28 08:33:25 2008
@@ -1335,7 +1335,7 @@
                 // subject from access control context
                 Session session = extendAuthentication(workspaceName);
                 if (session != null) {
-                    // sucessful extended authentication
+                    // successful extended authentication
                     return session;
                 } else {
                     log.debug("Attempt to login without Credentials and Subject -> try
login with null credentials.");
@@ -1436,7 +1436,7 @@
      * @throws AccessDeniedException if the subject of the given login context
      *                               is not granted access to the specified
      *                               workspace
-     * @throws RepositoryException   If any other error occurrs creating the
+     * @throws RepositoryException   If any other error occurs creating the
      *                               session.
      */
     protected SessionImpl createSessionInstance(AuthContext loginContext,
@@ -1454,7 +1454,7 @@
      * @throws AccessDeniedException if the subject of the given login context
      *                               is not granted access to the specified
      *                               workspace
-     * @throws RepositoryException   If any other error occurrs creating the
+     * @throws RepositoryException   If any other error occurs creating the
      *                               session.
      */
     protected SessionImpl createSessionInstance(Subject subject,
@@ -1790,7 +1790,7 @@
          * </ul>
          * @return <code>true</code> if this instance has been successfully
          *         initialized, <code>false</code> if it is already initialized.
-         * @throws RepositoryException if an error occured during the initialization
+         * @throws RepositoryException if an error occurred during the initialization
          */
         final boolean initialize() throws RepositoryException {
             // check initialize status
@@ -2057,13 +2057,13 @@
     private class WorkspaceJanitor implements Runnable {
 
         /**
-         * amount of time in mmilliseconds before an idle workspace is
+         * amount of time in milliseconds before an idle workspace is
          * automatically shutdown.
          */
         private long maxIdleTime;
 
         /**
-         * interval in mmilliseconds between checks for idle workspaces.
+         * interval in milliseconds between checks for idle workspaces.
          */
         private long checkInterval;
 
@@ -2071,7 +2071,7 @@
          * Creates a new <code>WorkspaceJanitor</code> instance responsible for
          * shutting down idle workspaces.
          *
-         * @param maxIdleTime amount of time in mmilliseconds before an idle
+         * @param maxIdleTime amount of time in milliseconds before an idle
          *                    workspace is automatically shutdown.
          */
         WorkspaceJanitor(long maxIdleTime) {

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/WorkspaceImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/WorkspaceImpl.java?rev=642264&r1=642263&r2=642264&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/WorkspaceImpl.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/WorkspaceImpl.java
Fri Mar 28 08:33:25 2008
@@ -1187,7 +1187,7 @@
      * or the parent node of <code>srcAbsPath</code> is versionable and checked-in,
      * or is non-versionable but its nearest versionable ancestor is checked-in.
      * @throws AccessDeniedException if the current session (i.e. the session that
-     * was used to aqcuire this <code>Workspace</code> object) does not have
+     * was used to acquire this <code>Workspace</code> object) does not have
      * sufficient access rights to complete the operation.
      * @throws PathNotFoundException if the node at <code>srcAbsPath</code> or
      * the parent of <code>destAbsPath</code> does not exist.

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/CacheAccessListener.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/CacheAccessListener.java?rev=642264&r1=642263&r2=642264&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/CacheAccessListener.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/CacheAccessListener.java
Fri Mar 28 08:33:25 2008
@@ -17,7 +17,7 @@
 package org.apache.jackrabbit.core.state;
 
 /**
- * The cache access listener can be registerd to a class.
+ * The cache access listener can be registered to a class.
  * From time to time, the method cacheAccess is called.
  */
 public interface CacheAccessListener {

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/CacheManager.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/CacheManager.java?rev=642264&r1=642263&r2=642264&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/CacheManager.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/CacheManager.java
Fri Mar 28 08:33:25 2008
@@ -41,7 +41,7 @@
     /** The logger instance. */
     private static Logger log = LoggerFactory.getLogger(CacheManager.class);
 
-    /** The default maximum amount of memory to distribute accross the caches. */
+    /** The default maximum amount of memory to distribute across the caches. */
     private static final long DEFAULT_MAX_MEMORY = 16 * 1024 * 1024;
 
     /** The default minimum size of a cache. */

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/ItemStateCache.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/ItemStateCache.java?rev=642264&r1=642263&r2=642264&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/ItemStateCache.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/ItemStateCache.java
Fri Mar 28 08:33:25 2008
@@ -84,7 +84,7 @@
 
     /**
      * Informs the cache that the item was modified and the cache might need to
-     * recalc the items caching weight.
+     * recalculate the items caching weight.
      *
      * @param id the id of the item that was modified.
      */

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/NodeState.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/NodeState.java?rev=642264&r1=642263&r2=642264&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/NodeState.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/NodeState.java
Fri Mar 28 08:33:25 2008
@@ -1297,7 +1297,7 @@
         }
 
         public List subList(int fromIndex, int toIndex) {
-            // @todo FIXME does not fulfil the contract of List.subList(int,int)
+            // @todo FIXME does not fulfill the contract of List.subList(int,int)
             return Collections.unmodifiableList(new ArrayList(this).subList(fromIndex, toIndex));
         }
 

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/NodeStateMerger.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/NodeStateMerger.java?rev=642264&r1=642263&r2=642264&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/NodeStateMerger.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/NodeStateMerger.java
Fri Mar 28 08:33:25 2008
@@ -26,7 +26,7 @@
 import java.util.Iterator;
 
 /**
- * Internal utility class used for merging concurrent changes that occured
+ * Internal utility class used for merging concurrent changes that occurred
  * on different <code>NodeState</code> instances representing the same node.
  * <p/>
  * See http://issues.apache.org/jira/browse/JCR-584.

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/SessionItemStateManager.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/SessionItemStateManager.java?rev=642264&r1=642263&r2=642264&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/SessionItemStateManager.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/SessionItemStateManager.java
Fri Mar 28 08:33:25 2008
@@ -375,7 +375,7 @@
 
     /**
      * Returns an iterator over those transient item state instances that are
-     * direct or indirect descendents of the item state with the given
+     * direct or indirect descendants of the item state with the given
      * <code>parentId</code>. The transient item state instance with the given
      * <code>parentId</code> itself (if there is such) will not be included.
      * <p/>

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/SharedItemStateManager.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/SharedItemStateManager.java?rev=642264&r1=642263&r2=642264&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/SharedItemStateManager.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/SharedItemStateManager.java
Fri Mar 28 08:33:25 2008
@@ -66,7 +66,7 @@
  * workspaces. we assume, that VISP cannot be added dynamically, neither during
  * runtime nor by configuration.
  * <p/>
- * The states from the VISP are readonly. by the exception for node references.
+ * The states from the VISP are read-only. by the exception for node references.
  * remember that the referrers are stored in a {@link NodeReferences} state,
  * having the ID of the target state.
  * <br/>
@@ -88,15 +88,15 @@
  *
  * <li> virtual --> virtual' (references from 'virtual' states to 'virtual'
  *      states of different VISP).
- *      those do currently not occurr and are therfor not supported.
+ *      those do currently not occur and are therefore not supported.
  * </ol>
  * <p/>
  * if VISP are not dynamic, there is not risk that NV-type references can dangle
  * (since a VISP cannot be 'unmounted', leaving eventual references dangling).
- * although multi-workspace-referrers are not explicitelt supported, the
+ * although multi-workspace-referrers are not explicitly supported, the
  * architecture of <code>NodeReferences</code> support multiple referrers with
  * the same PropertyId. So the number of references can be tracked (an example
- * of multi-workspace-refferres is a version referenced by the jcr:baseVersion
+ * of multi-workspace-referrers is a version referenced by the jcr:baseVersion
  * of several (corresponding) nodes in multiple workspaces).
  * <br/>
  * As mentioned, VN-type references should not impose any constraints on the
@@ -107,10 +107,10 @@
  * <br/>
  * VV-type references should be handled by the respective VISP. they look as
  * NN-type references in the scope if the VISP anyway...so no special treatment
- * should be neccessairy.
+ * should be necessary.
  * <br/>
  * VV'-type references are currently not possible, since the version store and
- * virtual nodetype representation don't allow such references.
+ * virtual node type representation don't allow such references.
  */
 public class SharedItemStateManager
         implements ItemStateManager, ItemStateListener, Dumpable {
@@ -766,7 +766,7 @@
                 throw new ItemStateException("Interrupted while downgrading to read lock");
             } finally {
                 if (writeLock != null) {
-                    // exception occured before downgrading lock
+                    // exception occurred before downgrading lock
                     writeLock.release();
                     writeLock = null;
                 } else if (readLock != null) {
@@ -781,7 +781,7 @@
          */
         public void cancel() {
             try {
-                /* let listener know about cancelled operation */
+                /* let listener know about canceled operation */
                 if (eventChannel != null) {
                     eventChannel.updateCancelled(this);
                 }
@@ -853,7 +853,7 @@
 
     /**
      * Begin update operation. This will return an object that can itself be
-     * ended/cancelled.
+     * ended/canceled.
      */
     public Update beginUpdate(ChangeLog local, EventStateCollectionFactory factory,
                               VirtualItemStateProvider virtualProvider)
@@ -1210,7 +1210,7 @@
      * @throws ItemStateException if an error occurs
      */
     private boolean isReferenceable(NodeState state) throws ItemStateException {
-        // shortcut: check some wellknown built-in types first
+        // shortcut: check some well known built-in types first
         Name primary = state.getNodeTypeName();
         Set mixins = state.getMixinTypeNames();
         if (mixins.contains(NameConstants.MIX_REFERENCEABLE)



Mime
View raw message