commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ohe...@apache.org
Subject svn commit: r1502866 - /commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/AbstractConfiguration.java
Date Sat, 13 Jul 2013 19:41:26 GMT
Author: oheger
Date: Sat Jul 13 19:41:26 2013
New Revision: 1502866

URL: http://svn.apache.org/r1502866
Log:
Adapted Javadocs related to list splitting.

Modified:
    commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/AbstractConfiguration.java

Modified: commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/AbstractConfiguration.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/AbstractConfiguration.java?rev=1502866&r1=1502865&r2=1502866&view=diff
==============================================================================
--- commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/AbstractConfiguration.java
(original)
+++ commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/AbstractConfiguration.java
Sat Jul 13 19:41:26 2013
@@ -1604,12 +1604,10 @@ public abstract class AbstractConfigurat
     /**
      * Get an array of strings associated with the given configuration key.
      * If the key doesn't map to an existing object, an empty array is returned.
-     * If a property is added to a configuration, it is checked whether it
+     * When a property is added to a configuration, it is checked whether it
      * contains multiple values. This is obvious if the added object is a list
-     * or an array. For strings it is checked whether the string contains the
-     * list delimiter character that can be specified using the
-     * {@code setListDelimiter()} method. If this is the case, the string
-     * is split at these positions resulting in a property with multiple
+     * or an array. For strings the association {@link ListDelimiterHandler} is
+     * consulted to find out whether the string can be split into multiple
      * values.
      *
      * @param key The configuration key.
@@ -1617,8 +1615,7 @@ public abstract class AbstractConfigurat
      *
      * @throws ConversionException is thrown if the key maps to an
      *         object that is not a String/List of Strings.
-     * @see #setListDelimiter(char)
-     * @see #setDelimiterParsingDisabled(boolean)
+     * @see #setListDelimiterHandler(ListDelimiterHandler)
      */
     public String[] getStringArray(String key)
     {



Mime
View raw message