commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ohe...@apache.org
Subject svn commit: r1679760 - /commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/DatabaseConfiguration.java
Date Sat, 16 May 2015 17:36:41 GMT
Author: oheger
Date: Sat May 16 17:36:41 2015
New Revision: 1679760

URL: http://svn.apache.org/r1679760
Log:
Javadoc errors: Invalid use of <h4> tag, invalid use of '<' and '>'.

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

Modified: commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/DatabaseConfiguration.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/DatabaseConfiguration.java?rev=1679760&r1=1679759&r2=1679760&view=diff
==============================================================================
--- commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/DatabaseConfiguration.java
(original)
+++ commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/DatabaseConfiguration.java
Sat May 16 17:36:41 2015
@@ -51,8 +51,11 @@ import org.apache.commons.logging.LogFac
  * configuration. Such an object can be created using the {@code database()}
  * method of the {@code Parameters} class. See the examples below for more
  * details.
+ * </p>
  *
- * <h4>Example 1 - One configuration per table</h4>
+ * <p>
+ * <strong>Example 1 - One configuration per table</strong>
+ * </p>
  *
  * <pre>
  * CREATE TABLE myconfig (
@@ -62,8 +65,8 @@ import org.apache.commons.logging.LogFac
  *
  * INSERT INTO myconfig (key, value) VALUES ('foo', 'bar');
  *
- * BasicConfigurationBuilder<DatabaseConfiguration> builder =
- *     new BasicConfigurationBuilder<DatabaseConfiguration>(DatabaseConfiguration.class);
+ * BasicConfigurationBuilder&lt;DatabaseConfiguration&gt; builder =
+ *     new BasicConfigurationBuilder&lt;DatabaseConfiguration&gt;(DatabaseConfiguration.class);
  * builder.configure(
  *     Parameters.database()
  *         .setDataSource(dataSource)
@@ -75,7 +78,9 @@ import org.apache.commons.logging.LogFac
  * String value = config.getString("foo");
  * </pre>
  *
- * <h4>Example 2 - Multiple configurations per table</h4>
+ * <p>
+ * <strong>Example 2 - Multiple configurations per table</strong>
+ * </p>
  *
  * <pre>
  * CREATE TABLE myconfigs (
@@ -88,8 +93,8 @@ import org.apache.commons.logging.LogFac
  * INSERT INTO myconfigs (name, key, value) VALUES ('config1', 'key1', 'value1');
  * INSERT INTO myconfigs (name, key, value) VALUES ('config2', 'key2', 'value2');
  *
- * BasicConfigurationBuilder<DatabaseConfiguration> builder =
- *     new BasicConfigurationBuilder<DatabaseConfiguration>(DatabaseConfiguration.class);
+ * BasicConfigurationBuilder&lt;DatabaseConfiguration&gt; builder =
+ *     new BasicConfigurationBuilder&lt;DatabaseConfiguration&gt;(DatabaseConfiguration.class);
  * builder.configure(
  *     Parameters.database()
  *         .setDataSource(dataSource)



Mime
View raw message