jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r328003 - /incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/RepositoryImpl.java
Date Mon, 24 Oct 2005 09:12:41 GMT
Author: stefan
Date: Mon Oct 24 02:12:21 2005
New Revision: 328003

URL: http://svn.apache.org/viewcvs?rev=328003&view=rev
Log:
minor javadoc improvements

Modified:
    incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/RepositoryImpl.java

Modified: incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/RepositoryImpl.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/RepositoryImpl.java?rev=328003&r1=328002&r2=328003&view=diff
==============================================================================
--- incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/RepositoryImpl.java (original)
+++ incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/RepositoryImpl.java Mon
Oct 24 02:12:21 2005
@@ -777,13 +777,13 @@
      * Sets the default properties of the repository.
      * <p/>
      * This method loads the <code>Properties</code> from the
-     * <code>com/day/crx/core/repository.properties</code> resource
+     * <code>org/apache/jackrabbit/core/repository.properties</code> resource
      * found in the class path and (re)sets the statistics properties, if not
      * present.
      *
      * @param props the properties object to load
      *
-     * @throws RepositoryException if the properties can not be aquired
+     * @throws RepositoryException if the properties can not be loaded
      */
     protected void setDefaultRepositoryProperties(Properties props)
             throws RepositoryException {
@@ -806,18 +806,19 @@
         }
     }
 
-
     /**
-     * Loads the repository properties by the following steps:
-     * 1. if the {@link #PROPERTIES_RESOURCE} exists in the meta data store,
-     *    the properties are loaded from that resource.
-     * 2. the {@link #setDefaultRepositoryProperties(Properties)} is called,
-     *    in order to set the repository properties. they could be newer than
-     *    the ones stored in the resource.
-     * 3. the {@link #storeRepProps(Properties)} is called, in order to persist
-     *    the generated properties.
+     * Loads the repository properties by executing the following steps:
+     * <ul>
+     * <li> if the {@link #PROPERTIES_RESOURCE} exists in the meta data store,
+     * the properties are loaded from that resource.</li>
+     * <li> {@link #setDefaultRepositoryProperties(Properties)} is called
+     * afterwards in order to initialize/update the repository properties
+     * since some default properties might have changed and need updating.</li>
+     * <li> finally {@link #storeRepProps(Properties)} is called in order to
+     * persist the newly generated properties.</li>
+     * </ul>
      *
-     * @return the newly loaded repository properties
+     * @return the newly loaded/initialized repository properties
      *
      * @throws RepositoryException
      */
@@ -895,7 +896,6 @@
             throw new RepositoryException(msg, e);
         }
     }
-
 
     //-----------------------------------------------------------< Repository >
     /**



Mime
View raw message