You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ss...@apache.org on 2016/12/13 11:43:43 UTC

svn commit: r1773956 - in /sling/trunk/contrib/extensions/contextaware-config: impl/src/main/java/org/apache/sling/caconfig/impl/ impl/src/main/java/org/apache/sling/caconfig/management/ spi/src/main/java/org/apache/sling/caconfig/spi/

Author: sseifert
Date: Tue Dec 13 11:43:42 2016
New Revision: 1773956

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

Modified:
    sling/trunk/contrib/extensions/contextaware-config/impl/src/main/java/org/apache/sling/caconfig/impl/ConfigurationResourceWrapper.java
    sling/trunk/contrib/extensions/contextaware-config/impl/src/main/java/org/apache/sling/caconfig/management/ConfigurationManager.java
    sling/trunk/contrib/extensions/contextaware-config/spi/src/main/java/org/apache/sling/caconfig/spi/ConfigurationPersistenceStrategy.java

Modified: sling/trunk/contrib/extensions/contextaware-config/impl/src/main/java/org/apache/sling/caconfig/impl/ConfigurationResourceWrapper.java
URL: http://svn.apache.org/viewvc/sling/trunk/contrib/extensions/contextaware-config/impl/src/main/java/org/apache/sling/caconfig/impl/ConfigurationResourceWrapper.java?rev=1773956&r1=1773955&r2=1773956&view=diff
==============================================================================
--- sling/trunk/contrib/extensions/contextaware-config/impl/src/main/java/org/apache/sling/caconfig/impl/ConfigurationResourceWrapper.java (original)
+++ sling/trunk/contrib/extensions/contextaware-config/impl/src/main/java/org/apache/sling/caconfig/impl/ConfigurationResourceWrapper.java Tue Dec 13 11:43:42 2016
@@ -112,10 +112,9 @@ public final class ConfigurationResource
     }
     
     /**
-     * Returns a string representation of this wrapper consisting of the class'
+     * @return Returns a string representation of this wrapper consisting of the class'
      * simple name, the {@link #getResourceType() resource type} and
-     * {@link #getPath() path} as well as the string representation of the
-     * {@link #resource) wrapped resource}.
+     * {@link #getPath() path} as well as the string representation of the wrapped resource}.
      */
     @Override
     public String toString() {

Modified: sling/trunk/contrib/extensions/contextaware-config/impl/src/main/java/org/apache/sling/caconfig/management/ConfigurationManager.java
URL: http://svn.apache.org/viewvc/sling/trunk/contrib/extensions/contextaware-config/impl/src/main/java/org/apache/sling/caconfig/management/ConfigurationManager.java?rev=1773956&r1=1773955&r2=1773956&view=diff
==============================================================================
--- sling/trunk/contrib/extensions/contextaware-config/impl/src/main/java/org/apache/sling/caconfig/management/ConfigurationManager.java (original)
+++ sling/trunk/contrib/extensions/contextaware-config/impl/src/main/java/org/apache/sling/caconfig/management/ConfigurationManager.java Tue Dec 13 11:43:42 2016
@@ -57,7 +57,7 @@ public interface ConfigurationManager {
      * Write configuration data to repository using the inner-most context path as reference.
      * @param resource Context resource
      * @param configName Configuration name
-     * @param values Values to be stored. All existing properties are erased and replaced with the new ones.
+     * @param data Configuration data to be stored. All existing properties are erased and replaced with the new ones.
      */
     void persistConfiguration(@Nonnull Resource resource, @Nonnull String configName,
             @Nonnull ConfigurationPersistData data);
@@ -66,8 +66,7 @@ public interface ConfigurationManager {
      * Write configuration data collection using the inner-most context path as reference.
      * @param resource Context resource
      * @param configName Configuration name
-     * @param resourceCollectionItems Resource collection items to be stored.
-     *      All existing collection entries on this context path level are erased and replaced with the new ones.
+     * @param data Configuration collection data to be stored. All existing collection entries on this context path level are erased and replaced with the new ones.
      */
     void persistConfigurationCollection(@Nonnull Resource resource, @Nonnull String configName,
             @Nonnull ConfigurationCollectionPersistData data);

Modified: sling/trunk/contrib/extensions/contextaware-config/spi/src/main/java/org/apache/sling/caconfig/spi/ConfigurationPersistenceStrategy.java
URL: http://svn.apache.org/viewvc/sling/trunk/contrib/extensions/contextaware-config/spi/src/main/java/org/apache/sling/caconfig/spi/ConfigurationPersistenceStrategy.java?rev=1773956&r1=1773955&r2=1773956&view=diff
==============================================================================
--- sling/trunk/contrib/extensions/contextaware-config/spi/src/main/java/org/apache/sling/caconfig/spi/ConfigurationPersistenceStrategy.java (original)
+++ sling/trunk/contrib/extensions/contextaware-config/spi/src/main/java/org/apache/sling/caconfig/spi/ConfigurationPersistenceStrategy.java Tue Dec 13 11:43:42 2016
@@ -53,7 +53,7 @@ public interface ConfigurationPersistenc
      * The changes are written using the given resource resolver. They are not committed, this is left to the caller.
      * @param resourceResolver Resource resolver
      * @param configResourcePath Path to store configuration data to. The resource (and it's parents) may not exist and may have to be created. 
-     * @param data Configuration persistence data
+     * @param data Configuration data to be stored. All existing properties are erased and replaced with the new ones.
      * @return true if the data was persisted. false if persisting the data was not accepted by this persistence strategy
      *      (in case of error throw an exception).
      */