--- old/src/java.base/share/classes/java/util/Properties.java 2015-08-07 21:15:16.982584114 +0400 +++ new/src/java.base/share/classes/java/util/Properties.java 2015-08-07 21:15:16.778584123 +0400 @@ -60,12 +60,12 @@ * object that contains a non-{@code String} key. * *

- * The {@link #load(java.io.Reader) load(Reader)} / + * The {@link #load(java.io.Reader) load(Reader)} {@code /} * {@link #store(java.io.Writer, java.lang.String) store(Writer, String)} * methods load and store properties from and to a character based stream * in a simple line-oriented format specified below. * - * The {@link #load(java.io.InputStream) load(InputStream)} / + * The {@link #load(java.io.InputStream) load(InputStream)} {@code /} * {@link #store(java.io.OutputStream, java.lang.String) store(OutputStream, String)} * methods work the same way as the load(Reader)/store(Writer, String) pair, except * the input/output stream is encoded in ISO 8859-1 character encoding. @@ -105,7 +105,7 @@ * * *

This class is thread-safe: multiple threads can share a single - * Properties object without the need for external synchronization. + * {@code Properties} object without the need for external synchronization. * * @author Arthur van Hoff * @author Michael McCloskey @@ -144,13 +144,13 @@ } /** - * Calls the Hashtable method {@code put}. Provided for - * parallelism with the getProperty method. Enforces use of + * Calls the {@code Hashtable} method {@code put}. Provided for + * parallelism with the {@code getProperty} method. Enforces use of * strings for property keys and values. The value returned is the - * result of the Hashtable call to {@code put}. + * result of the {@code Hashtable} call to {@code put}. * * @param key the key to be placed into this property list. - * @param value the value corresponding to key. + * @param value the value corresponding to {@code key}. * @return the previous value of the specified key in this property * list, or {@code null} if it did not have one. * @see #getProperty @@ -756,7 +756,7 @@ * @param writer an output character stream writer. * @param comments a description of the property list. * @exception IOException if writing this property list to the specified - * output stream throws an IOException. + * output stream throws an {@code IOException}. * @exception ClassCastException if this {@code Properties} object * contains any keys or values that are not {@code Strings}. * @exception NullPointerException if {@code writer} is null. @@ -803,7 +803,7 @@ * @param out an output stream. * @param comments a description of the property list. * @exception IOException if writing this property list to the specified - * output stream throws an IOException. + * output stream throws an {@code IOException}. * @exception ClassCastException if this {@code Properties} object * contains any keys or values that are not {@code Strings}. * @exception NullPointerException if {@code out} is null. @@ -860,7 +860,7 @@ * * @param in the input stream from which to read the XML document. * @throws IOException if reading from the specified input stream - * results in an IOException. + * results in an {@code IOException}. * @throws java.io.UnsupportedEncodingException if the document's encoding * declaration can be read and it specifies an encoding that is not * supported @@ -885,15 +885,15 @@ * Emits an XML document representing all of the properties contained * in this table. * - *

An invocation of this method of the form props.storeToXML(os, - * comment) behaves in exactly the same way as the invocation - * props.storeToXML(os, comment, "UTF-8");. + *

An invocation of this method of the form {@code props.storeToXML(os, + * comment)} behaves in exactly the same way as the invocation + * {@code props.storeToXML(os, comment, "UTF-8");}. * * @param os the output stream on which to emit the XML document. * @param comment a description of the property list, or {@code null} * if no comment is desired. * @throws IOException if writing to the specified output stream - * results in an IOException. + * results in an {@code IOException}. * @throws NullPointerException if {@code os} is null. * @throws ClassCastException if this {@code Properties} object * contains any keys or values that are not @@ -933,7 +933,7 @@ * character encoding * * @throws IOException if writing to the specified output stream - * results in an IOException. + * results in an {@code IOException}. * @throws java.io.UnsupportedEncodingException if the encoding is not * supported by the implementation. * @throws NullPointerException if {@code os} is {@code null}, @@ -1016,10 +1016,10 @@ * including distinct keys in the default property list if a key * of the same name has not already been found from the main * properties list. Properties whose key or value is not - * of type String are omitted. + * of type {@code String} are omitted. *

- * The returned set is not backed by the Properties object. - * Changes to this Properties are not reflected in the set, + * The returned set is not backed by the {@code Properties} object. + * Changes to this {@code Properties} are not reflected in the set, * or vice versa. * * @return a set of keys in this property list where