jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r1064669 - in /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core: persistence/ persistence/db/ persistence/pool/ persistence/util/ util/db/ virtual/
Date Fri, 28 Jan 2011 13:39:27 GMT
Author: angela
Date: Fri Jan 28 13:39:27 2011
New Revision: 1064669

URL: http://svn.apache.org/viewvc?rev=1064669&view=rev
Log:
javadoc, minor improvement

Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/CachingPersistenceManager.java
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/db/DatabasePersistenceManager.java
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/db/SimpleDbPersistenceManager.java
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/pool/BundleDbPersistenceManager.java
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/util/BundleBinding.java
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/util/BundleNames.java
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/util/BundleReader.java
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/util/ErrorHandling.java
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/util/NodePropBundle.java
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/util/ResourceBasedBLOBStore.java
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/util/db/DatabaseAware.java
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/virtual/AbstractVISProvider.java

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/CachingPersistenceManager.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/CachingPersistenceManager.java?rev=1064669&r1=1064668&r2=1064669&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/CachingPersistenceManager.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/CachingPersistenceManager.java
Fri Jan 28 13:39:27 2011
@@ -26,7 +26,7 @@ public interface CachingPersistenceManag
 
     /**
      * Notifies the persistence manager that an external (cluster) modification
-     * occured.
+     * occurred.
      *
      * @param changes the set of changes of the external modification.
      */

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/db/DatabasePersistenceManager.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/db/DatabasePersistenceManager.java?rev=1064669&r1=1064668&r2=1064669&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/db/DatabasePersistenceManager.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/db/DatabasePersistenceManager.java
Fri Jan 28 13:39:27 2011
@@ -450,9 +450,10 @@ public abstract class DatabasePersistenc
      * This method uses shared <code>PreparedStatement</code>s which must
      * be executed strictly sequentially. Because this method synchronizes on
      * the persistence manager instance there is no need to synchronize on the
-     * shared statement. If the method would not be sychronized the shared
+     * shared statement. If the method would not be synchronized the shared
      * statements would have to be synchronized.
      */
+    @Override
     public synchronized void store(NodeState state) throws ItemStateException {
         if (!initialized) {
             throw new IllegalStateException("not initialized");
@@ -488,9 +489,10 @@ public abstract class DatabasePersistenc
      * This method uses shared <code>PreparedStatement</code>s which must
      * be executed strictly sequentially. Because this method synchronizes on
      * the persistence manager instance there is no need to synchronize on the
-     * shared statement. If the method would not be sychronized the shared
+     * shared statement. If the method would not be synchronized the shared
      * statements would have to be synchronized.
      */
+    @Override
     public synchronized void store(PropertyState state)
             throws ItemStateException {
         if (!initialized) {
@@ -626,9 +628,10 @@ public abstract class DatabasePersistenc
      * This method uses shared <code>PreparedStatement</code>s which must
      * be executed strictly sequentially. Because this method synchronizes on
      * the persistence manager instance there is no need to synchronize on the
-     * shared statement. If the method would not be sychronized the shared
+     * shared statement. If the method would not be synchronized the shared
      * statements would have to be synchronized.
      */
+    @Override
     public synchronized void store(NodeReferences refs)
             throws ItemStateException {
         if (!initialized) {

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/db/SimpleDbPersistenceManager.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/db/SimpleDbPersistenceManager.java?rev=1064669&r1=1064668&r2=1064669&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/db/SimpleDbPersistenceManager.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/db/SimpleDbPersistenceManager.java
Fri Jan 28 13:39:27 2011
@@ -48,8 +48,8 @@ import javax.jcr.RepositoryException;
  * The required schema objects are automatically created by executing the DDL
  * statements read from the [schema].ddl file. The .ddl file is read from the
  * resources by calling <code>getClass().getResourceAsStream(schema + ".ddl")</code>.
- * Every line in the specified .ddl file is executed separatly by calling
- * <code>java.sql.Statement.execute(String)</code> where every occurence of the
+ * Every line in the specified .ddl file is executed separately by calling
+ * <code>java.sql.Statement.execute(String)</code> where every occurrence of
the
  * the string <code>"${schemaObjectPrefix}"</code> has been replaced with the
  * value of the property <code>schemaObjectPrefix</code>.
  * <p/>

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/pool/BundleDbPersistenceManager.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/pool/BundleDbPersistenceManager.java?rev=1064669&r1=1064668&r2=1064669&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/pool/BundleDbPersistenceManager.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/pool/BundleDbPersistenceManager.java
Fri Jan 28 13:39:27 2011
@@ -190,8 +190,8 @@ public class BundleDbPersistenceManager
     /**
      * {@inheritDoc}
      */
-    public void setConnectionFactory(ConnectionFactory connnectionFactory) {
-        this.connectionFactory = connnectionFactory;
+    public void setConnectionFactory(ConnectionFactory connectionFactory) {
+        this.connectionFactory = connectionFactory;
     }
 
     /**

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/util/BundleBinding.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/util/BundleBinding.java?rev=1064669&r1=1064668&r2=1064669&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/util/BundleBinding.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/util/BundleBinding.java
Fri Jan 28 13:39:27 2011
@@ -132,7 +132,7 @@ public class BundleBinding {
     }
 
     /**
-     * Returns the blob store that is assosiated with this binding.
+     * Returns the blob store that is associated with this binding.
      * @return the blob store
      */
     public BLOBStore getBlobStore() {

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/util/BundleNames.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/util/BundleNames.java?rev=1064669&r1=1064668&r2=1064669&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/util/BundleNames.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/util/BundleNames.java
Fri Jan 28 13:39:27 2011
@@ -26,7 +26,7 @@ import org.apache.jackrabbit.spi.commons
 
 // WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING //
 //                                                                         //
-// The contents and behavour of this class are tightly coupled with the    //
+// The contents and behaviour of this class are tightly coupled with the    //
 // bundle serialization format, so make sure that you know what you're     //
 // doing before modifying this class!                                      //
 //                                                                         //

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/util/BundleReader.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/util/BundleReader.java?rev=1064669&r1=1064668&r2=1064669&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/util/BundleReader.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/util/BundleReader.java
Fri Jan 28 13:39:27 2011
@@ -40,7 +40,7 @@ import java.math.BigDecimal;
 import javax.jcr.PropertyType;
 
 /**
- * Bundle deserializater. See the {@link BundleWriter} class for details of
+ * Bundle deserializer. See the {@link BundleWriter} class for details of
  * the serialization format.
  *
  * @see BundleWriter

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/util/ErrorHandling.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/util/ErrorHandling.java?rev=1064669&r1=1064668&r2=1064669&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/util/ErrorHandling.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/util/ErrorHandling.java
Fri Jan 28 13:39:27 2011
@@ -24,7 +24,7 @@ import java.util.HashSet;
 public final class ErrorHandling {
 
     /**
-     * Controls if references to missing blob resources are treaded as errors
+     * Controls if references to missing blob resources are treated as errors
      * or not.
      */
     public static final String IGNORE_MISSING_BLOBS = "IGN_MISSING_BLOBS";
@@ -45,7 +45,7 @@ public final class ErrorHandling {
 
     /**
      * Creates a new error handling configuration based on the given string.
-     * The individual flags should be seperated with "|".
+     * The individual flags should be separated with "|".
      *
      * @param str flags
      */
@@ -66,7 +66,7 @@ public final class ErrorHandling {
     }
 
     /**
-     * Returns the string representation where the flags are seperated
+     * Returns the string representation where the flags are separated
      * with "|".
      * @return the string representation.
      */

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/util/NodePropBundle.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/util/NodePropBundle.java?rev=1064669&r1=1064668&r2=1064669&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/util/NodePropBundle.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/util/NodePropBundle.java
Fri Jan 28 13:39:27 2011
@@ -130,7 +130,7 @@ public class NodePropBundle {
     public void update(NodeState state) {
         if (!id.equals(state.getNodeId())) {
             // sanity check
-            throw new IllegalArgumentException("Not allowed to update forgein state.");
+            throw new IllegalArgumentException("Not allowed to update foreign state.");
         }
         parentId = state.getParentId();
         nodeTypeName = state.getNodeTypeName();
@@ -186,7 +186,7 @@ public class NodePropBundle {
     }
 
     /**
-     * Marks this bunlde as 'not new'.
+     * Marks this bundle as 'not new'.
      */
     public void markOld() {
         isNew = false;
@@ -266,8 +266,9 @@ public class NodePropBundle {
     }
 
     /**
-     * Retrusn the mod clount.
-     * @return the mod clount.
+     * Returns the mod count.
+     *
+     * @return the mod count.
      */
     public short getModCount() {
         return modCount;
@@ -275,6 +276,7 @@ public class NodePropBundle {
 
     /**
      * Sets the mod count
+     * 
      * @param modCount the mod count
      */
     public void setModCount(short modCount) {

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/util/ResourceBasedBLOBStore.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/util/ResourceBasedBLOBStore.java?rev=1064669&r1=1064668&r2=1064669&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/util/ResourceBasedBLOBStore.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/util/ResourceBasedBLOBStore.java
Fri Jan 28 13:39:27 2011
@@ -29,9 +29,9 @@ public interface ResourceBasedBLOBStore 
      * Retrieves the BLOB data with the specified id as a permanent resource.
      *
      * @param blobId identifier of the BLOB data as returned by
-     *               {@link #createId(PropertyId, int)}
+     *               {@link #createId(org.apache.jackrabbit.core.id.PropertyId , int)}
      * @return a resource representing the BLOB data
-     * @throws Exception if an error occured
+     * @throws Exception if an error occurred
      */
     FileSystemResource getResource(String blobId) throws Exception;
 }

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/util/db/DatabaseAware.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/util/db/DatabaseAware.java?rev=1064669&r1=1064668&r2=1064669&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/util/db/DatabaseAware.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/util/db/DatabaseAware.java
Fri Jan 28 13:39:27 2011
@@ -24,7 +24,7 @@ package org.apache.jackrabbit.core.util.
 public interface DatabaseAware {
 
     /**
-     * @param connnectionFactory
+     * @param connectionFactory
      */
-    void setConnectionFactory(ConnectionFactory connnectionFactory);
+    void setConnectionFactory(ConnectionFactory connectionFactory);
 }

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/virtual/AbstractVISProvider.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/virtual/AbstractVISProvider.java?rev=1064669&r1=1064668&r2=1064669&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/virtual/AbstractVISProvider.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/virtual/AbstractVISProvider.java
Fri Jan 28 13:39:27 2011
@@ -278,7 +278,7 @@ public abstract class AbstractVISProvide
     }
 
     /**
-     * Retrieces the property state for the given id
+     * Retrieves the property state for the given id
      *
      * @param id
      * @return
@@ -402,7 +402,7 @@ public abstract class AbstractVISProvide
     }
 
     /**
-     * retrieves the property definition for the given contraints
+     * retrieves the property definition for the given constraints
      *
      * @param parent The parent node state.
      * @param propertyName The name of the property.
@@ -418,7 +418,7 @@ public abstract class AbstractVISProvide
     }
 
     /**
-     * Retrieves the node definition for the given contraints.
+     * Retrieves the node definition for the given constraints.
      *
      * @param parent The parent state.
      * @param nodeName



Mime
View raw message