commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ohe...@apache.org
Subject svn commit: r1679750 - in /commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2: XMLPropertiesConfiguration.java plist/XMLPropertyListConfiguration.java
Date Sat, 16 May 2015 17:32:55 GMT
Author: oheger
Date: Sat May 16 17:32:54 2015
New Revision: 1679750

URL: http://svn.apache.org/r1679750
Log:
Javadoc errors: Bad use of '>'.

Modified:
    commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/XMLPropertiesConfiguration.java
    commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/plist/XMLPropertyListConfiguration.java

Modified: commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/XMLPropertiesConfiguration.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/XMLPropertiesConfiguration.java?rev=1679750&r1=1679749&r2=1679750&view=diff
==============================================================================
--- commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/XMLPropertiesConfiguration.java
(original)
+++ commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/XMLPropertiesConfiguration.java
Sat May 16 17:32:54 2015
@@ -17,15 +17,14 @@
 
 package org.apache.commons.configuration2;
 
+import javax.xml.parsers.SAXParser;
+import javax.xml.parsers.SAXParserFactory;
 import java.io.PrintWriter;
 import java.io.Reader;
 import java.io.Writer;
 import java.util.Iterator;
 import java.util.List;
 
-import javax.xml.parsers.SAXParser;
-import javax.xml.parsers.SAXParserFactory;
-
 import org.apache.commons.configuration2.convert.ListDelimiterHandler;
 import org.apache.commons.configuration2.ex.ConfigurationException;
 import org.apache.commons.configuration2.io.FileLocator;
@@ -47,14 +46,14 @@ import org.xml.sax.helpers.DefaultHandle
  * An XML properties file looks like this:
  *
  * <pre>
- * &lt;?xml version="1.0"?>
- * &lt;!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
- * &lt;properties>
- *   &lt;comment>Description of the property list&lt;/comment>
- *   &lt;entry key="key1">value1&lt;/entry>
- *   &lt;entry key="key2">value2&lt;/entry>
- *   &lt;entry key="key3">value3&lt;/entry>
- * &lt;/properties>
+ * &lt;?xml version="1.0"?&gt;
+ * &lt;!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd"&gt;
+ * &lt;properties&gt;
+ *   &lt;comment&gt;Description of the property list&lt;/comment&gt;
+ *   &lt;entry key="key1"&gt;value1&lt;/entry&gt;
+ *   &lt;entry key="key2"&gt;value2&lt;/entry&gt;
+ *   &lt;entry key="key3"&gt;value3&lt;/entry&gt;
+ * &lt;/properties&gt;
  * </pre>
  *
  * The Java 5.0 runtime is not required to use this class. The default encoding

Modified: commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/plist/XMLPropertyListConfiguration.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/plist/XMLPropertyListConfiguration.java?rev=1679750&r1=1679749&r2=1679750&view=diff
==============================================================================
--- commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/plist/XMLPropertyListConfiguration.java
(original)
+++ commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/plist/XMLPropertyListConfiguration.java
Sat May 16 17:32:54 2015
@@ -66,59 +66,59 @@ import org.xml.sax.helpers.DefaultHandle
  *
  * <p>Example:</p>
  * <pre>
- * &lt;?xml version="1.0"?>
- * &lt;!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
- * &lt;plist version="1.0">
- *     &lt;dict>
- *         &lt;key>string&lt;/key>
- *         &lt;string>value1&lt;/string>
- *
- *         &lt;key>integer&lt;/key>
- *         &lt;integer>12345&lt;/integer>
- *
- *         &lt;key>real&lt;/key>
- *         &lt;real>-123.45E-1&lt;/real>
- *
- *         &lt;key>boolean&lt;/key>
- *         &lt;true/>
- *
- *         &lt;key>date&lt;/key>
- *         &lt;date>2005-01-01T12:00:00Z&lt;/date>
- *
- *         &lt;key>data&lt;/key>
- *         &lt;data>RHJhY28gRG9ybWllbnMgTnVucXVhbSBUaXRpbGxhbmR1cw==&lt;/data>
- *
- *         &lt;key>array&lt;/key>
- *         &lt;array>
- *             &lt;string>value1&lt;/string>
- *             &lt;string>value2&lt;/string>
- *             &lt;string>value3&lt;/string>
- *         &lt;/array>
- *
- *         &lt;key>dictionnary&lt;/key>
- *         &lt;dict>
- *             &lt;key>key1&lt;/key>
- *             &lt;string>value1&lt;/string>
- *             &lt;key>key2&lt;/key>
- *             &lt;string>value2&lt;/string>
- *             &lt;key>key3&lt;/key>
- *             &lt;string>value3&lt;/string>
- *         &lt;/dict>
- *
- *         &lt;key>nested&lt;/key>
- *         &lt;dict>
- *             &lt;key>node1&lt;/key>
- *             &lt;dict>
- *                 &lt;key>node2&lt;/key>
- *                 &lt;dict>
- *                     &lt;key>node3&lt;/key>
- *                     &lt;string>value&lt;/string>
- *                 &lt;/dict>
- *             &lt;/dict>
- *         &lt;/dict>
+ * &lt;?xml version="1.0"?&gt;
+ * &lt;!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd"&gt;
+ * &lt;plist version="1.0"&gt;
+ *     &lt;dict&gt;
+ *         &lt;key&gt;string&lt;/key&gt;
+ *         &lt;string&gt;value1&lt;/string&gt;
+ *
+ *         &lt;key&gt;integer&lt;/key&gt;
+ *         &lt;integer&gt;12345&lt;/integer&gt;
+ *
+ *         &lt;key&gt;real&lt;/key&gt;
+ *         &lt;real&gt;-123.45E-1&lt;/real&gt;
+ *
+ *         &lt;key&gt;boolean&lt;/key&gt;
+ *         &lt;true/&gt;
+ *
+ *         &lt;key&gt;date&lt;/key&gt;
+ *         &lt;date&gt;2005-01-01T12:00:00Z&lt;/date&gt;
+ *
+ *         &lt;key&gt;data&lt;/key&gt;
+ *         &lt;data&gt;RHJhY28gRG9ybWllbnMgTnVucXVhbSBUaXRpbGxhbmR1cw==&lt;/data&gt;
+ *
+ *         &lt;key&gt;array&lt;/key&gt;
+ *         &lt;array&gt;
+ *             &lt;string&gt;value1&lt;/string&gt;
+ *             &lt;string&gt;value2&lt;/string&gt;
+ *             &lt;string&gt;value3&lt;/string&gt;
+ *         &lt;/array&gt;
+ *
+ *         &lt;key&gt;dictionnary&lt;/key&gt;
+ *         &lt;dict&gt;
+ *             &lt;key&gt;key1&lt;/key&gt;
+ *             &lt;string&gt;value1&lt;/string&gt;
+ *             &lt;key&gt;key2&lt;/key&gt;
+ *             &lt;string&gt;value2&lt;/string&gt;
+ *             &lt;key&gt;key3&lt;/key&gt;
+ *             &lt;string&gt;value3&lt;/string&gt;
+ *         &lt;/dict&gt;
+ *
+ *         &lt;key&gt;nested&lt;/key&gt;
+ *         &lt;dict&gt;
+ *             &lt;key&gt;node1&lt;/key&gt;
+ *             &lt;dict&gt;
+ *                 &lt;key&gt;node2&lt;/key&gt;
+ *                 &lt;dict&gt;
+ *                     &lt;key&gt;node3&lt;/key&gt;
+ *                     &lt;string&gt;value&lt;/string&gt;
+ *                 &lt;/dict&gt;
+ *             &lt;/dict&gt;
+ *         &lt;/dict&gt;
  *
- *     &lt;/dict>
- * &lt;/plist>
+ *     &lt;/dict&gt;
+ * &lt;/plist&gt;
  * </pre>
  *
  * @since 1.2



Mime
View raw message