jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r944295 - in /jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi: RepositoryImpl.java state/WorkspaceItemStateFactory.java
Date Fri, 14 May 2010 14:39:54 GMT
Author: stefan
Date: Fri May 14 14:39:54 2010
New Revision: 944295

URL: http://svn.apache.org/viewvc?rev=944295&view=rev
Log:
javadoc

Modified:
    jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/RepositoryImpl.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/RepositoryImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/RepositoryImpl.java?rev=944295&r1=944294&r2=944295&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/RepositoryImpl.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/RepositoryImpl.java
Fri May 14 14:39:54 2010
@@ -68,7 +68,7 @@ public class RepositoryImpl extends Abst
         this.config = config;
 
         // dummy value factory and dummy resolver as descriptors are not
-        // expected contain Name or Path values.
+        // expected to contain Name or Path values.
         ValueFactory vf = ValueFactoryImpl.getInstance(); 
         NamePathResolver resolver = new DefaultNamePathResolver(new NamespaceResolver() {
             public String getURI(String prefix) throws NamespaceException {

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=944295&r1=944294&r2=944295&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
Fri May 14 14:39:54 2010
@@ -134,14 +134,14 @@ public class WorkspaceItemStateFactory e
                 throw new ItemNotFoundException(
                         "HierarchyEntry does not belong to any existing ItemInfo. No ItemState
was created.");
             } else {
-                // Now we can check wheter the item info from the cache is up to date
+                // Now we can check whether the item info from the cache is up to date
                 long generation = entry.getGeneration();
                 if (isOutdated(cached, entry)) {
-                    // if not, retreive the item info from the service and put the whole
batch into the cache
+                    // if not, retrieve the item info from the service and put the whole
batch into the cache
                     infos = service.getItemInfos(sessionInfo, nodeId);
                     info = first(infos, cache, generation);
                 } else if (infos != null) {
-                    // Otherwise put the whole batch retreived from the service earlier into
the cache
+                    // Otherwise put the whole batch retrieved from the service earlier into
the cache
                     cache.put(info, generation);
                     first(infos, cache, generation);
                 }



Mime
View raw message