commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1612028 - in /commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration: DataConfiguration.java ImmutableConfiguration.java beanutils/ConfigurationDynaBean.java beanutils/ConfigurationDynaClass.java
Date Sun, 20 Jul 2014 06:20:05 GMT
Author: ggregory
Date: Sun Jul 20 06:20:04 2014
New Revision: 1612028

URL: http://svn.apache.org/r1612028
Log:
Use the more modern, compact, and flexible Javadoc "{@code ...}" instead of the HTML "<tt>...</tt>".

Modified:
    commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/DataConfiguration.java
    commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/ImmutableConfiguration.java
    commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/beanutils/ConfigurationDynaBean.java
    commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/beanutils/ConfigurationDynaClass.java

Modified: commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/DataConfiguration.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/DataConfiguration.java?rev=1612028&r1=1612027&r2=1612028&view=diff
==============================================================================
--- commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/DataConfiguration.java
(original)
+++ commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/DataConfiguration.java
Sun Jul 20 06:20:04 2014
@@ -57,7 +57,7 @@ import org.apache.commons.lang3.StringUt
  *
  * <h4>Example</h4>
  *
- * Configuration file <tt>config.properties</tt>:
+ * Configuration file {@code config.properties}:
  * <pre>
  * title.color = #0000FF
  * remote.host = 192.168.0.53
@@ -81,10 +81,10 @@ import org.apache.commons.lang3.StringUt
  *
  * <h4>Dates</h4>
  *
- * Date objects are expected to be formatted with the pattern <tt>yyyy-MM-dd HH:mm:ss</tt>.
+ * Date objects are expected to be formatted with the pattern {@code yyyy-MM-dd HH:mm:ss}.
  * This default format can be changed by specifying another format in the
  * getters, or by putting a date format in the configuration under the key
- * <tt>org.apache.commons.configuration.format.date</tt>. Alternatively, the
+ * {@code org.apache.commons.configuration.format.date}. Alternatively, the
  * date format can also be specified via the {@code ConversionHandler} used
  * by a configuration instance:
  *

Modified: commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/ImmutableConfiguration.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/ImmutableConfiguration.java?rev=1612028&r1=1612027&r2=1612028&view=diff
==============================================================================
--- commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/ImmutableConfiguration.java
(original)
+++ commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/ImmutableConfiguration.java
Sun Jul 20 06:20:04 2014
@@ -532,14 +532,14 @@ public interface ImmutableConfiguration
      * configuration key. If the key doesn't map to an existing object, the
      * method returns null unless
      * {@link AbstractConfiguration#isThrowExceptionOnMissing()} is set to
-     * <tt>true</tt>.
+     * {@code true}.
      *
      * @param <T> the target type of the value
      * @param cls the target class of the value
      * @param key the key of the value
      * @return the value of the requested type for the key
      * @throws NoSuchElementException if the key doesn't map to an existing
-     *         object and <tt>throwExceptionOnMissing=true</tt>
+     *         object and {@code throwExceptionOnMissing=true}
      * @throws ConversionException if the value is not compatible with the
      *         requested type
      * @since 2.0

Modified: commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/beanutils/ConfigurationDynaBean.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/beanutils/ConfigurationDynaBean.java?rev=1612028&r1=1612027&r2=1612028&view=diff
==============================================================================
--- commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/beanutils/ConfigurationDynaBean.java
(original)
+++ commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/beanutils/ConfigurationDynaBean.java
Sun Jul 20 06:20:04 2014
@@ -30,7 +30,7 @@ import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 
 /**
- * The <tt>ConfigurationDynaBean</tt> dynamically reads and writes
+ * The {@code ConfigurationDynaBean} dynamically reads and writes
  * configurations properties from a wrapped configuration-collection
  * {@link org.apache.commons.configuration.Configuration} instance. It also
  * implements a {@link java.util.Map} interface so that it can be used in

Modified: commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/beanutils/ConfigurationDynaClass.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/beanutils/ConfigurationDynaClass.java?rev=1612028&r1=1612027&r2=1612028&view=diff
==============================================================================
--- commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/beanutils/ConfigurationDynaClass.java
(original)
+++ commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/beanutils/ConfigurationDynaClass.java
Sun Jul 20 06:20:04 2014
@@ -29,7 +29,7 @@ import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 
 /**
- * The <tt>ConfigurationDynaClass</tt> dynamically determines properties for
+ * The {@code ConfigurationDynaClass} dynamically determines properties for
  * a {@code ConfigurationDynaBean} from a wrapped configuration-collection
  * {@link org.apache.commons.configuration.Configuration} instance.
  *



Mime
View raw message