You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2022/05/21 15:26:53 UTC

[commons-configuration] 01/02: Fix Javadoc running on Java 1.8.0_322 on macOS.

This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-configuration.git

commit 26b7dae5a0fa2730338bbe1ca0611c2d5a16d5e0
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat May 21 11:26:31 2022 -0400

    Fix Javadoc running on Java 1.8.0_322 on macOS.
    
    For some reason, this did not break GitHub builds. There are still
    plenty of Javadoc warnings though.
---
 .../commons/configuration2/interpol/ConfigurationInterpolator.java  | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/main/java/org/apache/commons/configuration2/interpol/ConfigurationInterpolator.java b/src/main/java/org/apache/commons/configuration2/interpol/ConfigurationInterpolator.java
index 4f610bba..121875c3 100644
--- a/src/main/java/org/apache/commons/configuration2/interpol/ConfigurationInterpolator.java
+++ b/src/main/java/org/apache/commons/configuration2/interpol/ConfigurationInterpolator.java
@@ -72,10 +72,10 @@ import org.apache.commons.text.lookup.DefaultStringLookup;
  * <p>
  * When variables are part of larger interpolated strings, the variable values, which can be of any type, must be
  * converted to strings to produce the full result. Each interpolator instance has a configurable
- * {@link #setStringConverter() string converter} to perform this conversion. The default implementation of this
+ * {@link #setStringConverter(Function) string converter} to perform this conversion. The default implementation of this
  * function simply uses the value's {@code toString} method in the majority of cases. However, for maximum
  * consistency with
- * {@link org.apache.commons.configuration3convert.DefaultConversionHandler DefaultConversionHandler}, when a variable
+ * {@link org.apache.commons.configuration2.convert.DefaultConversionHandler DefaultConversionHandler}, when a variable
  * value is a container type (such as a collection or array), then only the first element of the container is converted
  * to a string instead of the container itself. For example, if the variable {@code x} resolves to the integer array
  * {@code [1, 2, 3]}, then the string <code>"my value = ${x}"</code> will by default be interpolated to
@@ -323,12 +323,12 @@ public class ConfigurationInterpolator {
      * <p>
      * For the following examples, assume that the default string conversion function is in place and that the
      * variable {@code i} maps to the integer value {@code 42}.
+     * </p>
      * <pre>
      *      interpolator.interpolate(1) &rarr; 1 // non-string argument returned unchanged
      *      interpolator.interpolate("${i}") &rarr; 42 // single variable value returned with raw type
      *      interpolator.interpolate("answer = ${i}") &rarr; "answer = 42" // variable value converted to string
      * </pre>
-     * </p>
      *
      * @param value the value to be interpolated
      * @return the interpolated value