8029451: Tidy warnings cleanup for java.util package; minor changes in java.nio, java.sql
Reviewed-by: lancea
Contributed-by: Alexander Stepanov <alexander.v.stepanov@oracle.com>
--- a/jdk/src/share/classes/java/nio/package.html Wed Apr 30 11:28:05 2014 +0200
+++ b/jdk/src/share/classes/java/nio/package.html Wed Apr 30 15:02:24 2014 +0400
@@ -121,7 +121,7 @@
available. </p></li>
<li><p> A byte buffer provides access to its content as either a heterogeneous
- or homogeneous sequence of <a href="ByteBuffer.html#bin">binary data</i></a>
+ or homogeneous sequence of <a href="ByteBuffer.html#bin"><i>binary data</i></a>
of any non-boolean primitive type, in either big-endian or little-endian <a
href="ByteOrder.html">byte order</a>. </p></li>
--- a/jdk/src/share/classes/java/sql/package.html Wed Apr 30 11:28:05 2014 +0200
+++ b/jdk/src/share/classes/java/sql/package.html Wed Apr 30 15:02:24 2014 +0400
@@ -323,10 +323,10 @@
<ul>
<li><a href="http://docs.oracle.com/javase/tutorial/jdbc/basics/index.html">
- Lesson:JDBC Basics(The Javaxx Tutorials > JDBC(™) Database Access)</a>
+ Lesson:JDBC Basics(The Javaxx Tutorials > JDBC™ Database Access)</a>
<li><a href="http://www.oracle.com/technetwork/java/index-142838.html">
- <i>JDBC™API Tutorial and Reference, Third Edition</i></a>
+ <i>JDBC™ API Tutorial and Reference, Third Edition</i></a>
</ul>
</body>
--- a/jdk/src/share/classes/java/util/ArrayList.java Wed Apr 30 11:28:05 2014 +0200
+++ b/jdk/src/share/classes/java/util/ArrayList.java Wed Apr 30 15:02:24 2014 +0400
@@ -70,9 +70,9 @@
* unsynchronized access to the list:<pre>
* List list = Collections.synchronizedList(new ArrayList(...));</pre>
*
- * <p><a name="fail-fast">
+ * <p id="fail-fast">
* The iterators returned by this class's {@link #iterator() iterator} and
- * {@link #listIterator(int) listIterator} methods are <em>fail-fast</em>:</a>
+ * {@link #listIterator(int) listIterator} methods are <em>fail-fast</em>:
* if the list is structurally modified at any time after the iterator is
* created, in any way except through the iterator's own
* {@link ListIterator#remove() remove} or
--- a/jdk/src/share/classes/java/util/Arrays.java Wed Apr 30 11:28:05 2014 +0200
+++ b/jdk/src/share/classes/java/util/Arrays.java Wed Apr 30 15:02:24 2014 +0400
@@ -2561,7 +2561,7 @@
* arrays contain the same number of elements, and all corresponding pairs
* of elements in the two arrays are equal. In other words, two arrays
* are equal if they contain the same elements in the same order. Also,
- * two array references are considered equal if both are <tt>null</tt>.<p>
+ * two array references are considered equal if both are <tt>null</tt>.
*
* @param a one array to be tested for equality
* @param a2 the other array to be tested for equality
@@ -2590,7 +2590,7 @@
* arrays contain the same number of elements, and all corresponding pairs
* of elements in the two arrays are equal. In other words, two arrays
* are equal if they contain the same elements in the same order. Also,
- * two array references are considered equal if both are <tt>null</tt>.<p>
+ * two array references are considered equal if both are <tt>null</tt>.
*
* @param a one array to be tested for equality
* @param a2 the other array to be tested for equality
@@ -2619,7 +2619,7 @@
* arrays contain the same number of elements, and all corresponding pairs
* of elements in the two arrays are equal. In other words, two arrays
* are equal if they contain the same elements in the same order. Also,
- * two array references are considered equal if both are <tt>null</tt>.<p>
+ * two array references are considered equal if both are <tt>null</tt>.
*
* @param a one array to be tested for equality
* @param a2 the other array to be tested for equality
@@ -2648,7 +2648,7 @@
* arrays contain the same number of elements, and all corresponding pairs
* of elements in the two arrays are equal. In other words, two arrays
* are equal if they contain the same elements in the same order. Also,
- * two array references are considered equal if both are <tt>null</tt>.<p>
+ * two array references are considered equal if both are <tt>null</tt>.
*
* @param a one array to be tested for equality
* @param a2 the other array to be tested for equality
@@ -2677,7 +2677,7 @@
* arrays contain the same number of elements, and all corresponding pairs
* of elements in the two arrays are equal. In other words, two arrays
* are equal if they contain the same elements in the same order. Also,
- * two array references are considered equal if both are <tt>null</tt>.<p>
+ * two array references are considered equal if both are <tt>null</tt>.
*
* @param a one array to be tested for equality
* @param a2 the other array to be tested for equality
@@ -2706,7 +2706,7 @@
* arrays contain the same number of elements, and all corresponding pairs
* of elements in the two arrays are equal. In other words, two arrays
* are equal if they contain the same elements in the same order. Also,
- * two array references are considered equal if both are <tt>null</tt>.<p>
+ * two array references are considered equal if both are <tt>null</tt>.
*
* @param a one array to be tested for equality
* @param a2 the other array to be tested for equality
@@ -2735,7 +2735,7 @@
* arrays contain the same number of elements, and all corresponding pairs
* of elements in the two arrays are equal. In other words, two arrays
* are equal if they contain the same elements in the same order. Also,
- * two array references are considered equal if both are <tt>null</tt>.<p>
+ * two array references are considered equal if both are <tt>null</tt>.
*
* Two doubles <tt>d1</tt> and <tt>d2</tt> are considered equal if:
* <pre> <tt>new Double(d1).equals(new Double(d2))</tt></pre>
@@ -2770,7 +2770,7 @@
* arrays contain the same number of elements, and all corresponding pairs
* of elements in the two arrays are equal. In other words, two arrays
* are equal if they contain the same elements in the same order. Also,
- * two array references are considered equal if both are <tt>null</tt>.<p>
+ * two array references are considered equal if both are <tt>null</tt>.
*
* Two floats <tt>f1</tt> and <tt>f2</tt> are considered equal if:
* <pre> <tt>new Float(f1).equals(new Float(f2))</tt></pre>
@@ -2807,7 +2807,7 @@
* and <tt>e2</tt> are considered <i>equal</i> if <tt>(e1==null ? e2==null
* : e1.equals(e2))</tt>. In other words, the two arrays are equal if
* they contain the same elements in the same order. Also, two array
- * references are considered equal if both are <tt>null</tt>.<p>
+ * references are considered equal if both are <tt>null</tt>.
*
* @param a one array to be tested for equality
* @param a2 the other array to be tested for equality
--- a/jdk/src/share/classes/java/util/Locale.java Wed Apr 30 11:28:05 2014 +0200
+++ b/jdk/src/share/classes/java/util/Locale.java Wed Apr 30 15:02:24 2014 +0400
@@ -951,7 +951,6 @@
* functionality, this method should only be used if the caller is
* prepared to reinitialize locale-sensitive code running within the
* same Java Virtual Machine.
- * <p>
*
* @param category - the specified category to set the default locale
* @param newLocale - the new default locale
--- a/jdk/src/share/classes/java/util/Properties.java Wed Apr 30 11:28:05 2014 +0200
+++ b/jdk/src/share/classes/java/util/Properties.java Wed Apr 30 15:02:24 2014 +0400
@@ -754,7 +754,6 @@
* <p>
* After the entries have been written, the output stream is flushed.
* The output stream remains open after this method returns.
- * <p>
*
* @param writer an output character stream writer.
* @param comments a description of the property list.
@@ -802,7 +801,7 @@
* <p>
* After the entries have been written, the output stream is flushed.
* The output stream remains open after this method returns.
- * <p>
+ *
* @param out an output stream.
* @param comments a description of the property list.
* @exception IOException if writing this property list to the specified
--- a/jdk/src/share/classes/java/util/PropertyPermission.java Wed Apr 30 11:28:05 2014 +0200
+++ b/jdk/src/share/classes/java/util/PropertyPermission.java Wed Apr 30 15:02:24 2014 +0400
@@ -193,7 +193,7 @@
/**
* Checks two PropertyPermission objects for equality. Checks that <i>obj</i> is
* a PropertyPermission, and has the same name and actions as this object.
- * <P>
+ *
* @param obj the object we are testing for equality with this object.
* @return true if obj is a PropertyPermission, and has the same name and
* actions as this PropertyPermission object.
@@ -369,7 +369,6 @@
/**
* Returns a new PermissionCollection object for storing
* PropertyPermission objects.
- * <p>
*
* @return a new PermissionCollection object suitable for storing
* PropertyPermissions.
--- a/jdk/src/share/classes/java/util/Vector.java Wed Apr 30 11:28:05 2014 +0200
+++ b/jdk/src/share/classes/java/util/Vector.java Wed Apr 30 15:02:24 2014 +0400
@@ -45,9 +45,9 @@
* capacity of a vector before inserting a large number of
* components; this reduces the amount of incremental reallocation.
*
- * <p><a name="fail-fast">
+ * <p id="fail-fast">
* The iterators returned by this class's {@link #iterator() iterator} and
- * {@link #listIterator(int) listIterator} methods are <em>fail-fast</em></a>:
+ * {@link #listIterator(int) listIterator} methods are <em>fail-fast</em>:
* if the vector is structurally modified at any time after the iterator is
* created, in any way except through the iterator's own
* {@link ListIterator#remove() remove} or
--- a/jdk/src/share/classes/java/util/concurrent/locks/ReentrantReadWriteLock.java Wed Apr 30 11:28:05 2014 +0200
+++ b/jdk/src/share/classes/java/util/concurrent/locks/ReentrantReadWriteLock.java Wed Apr 30 15:02:24 2014 +0400
@@ -80,7 +80,6 @@
* {@link ReadLock#tryLock()} and {@link WriteLock#tryLock()} methods
* do not honor this fair setting and will immediately acquire the lock
* if it is possible, regardless of waiting threads.)
- * <p>
* </dl>
*
* <li><b>Reentrancy</b>
--- a/jdk/src/share/classes/java/util/jar/Pack200.java Wed Apr 30 11:28:05 2014 +0200
+++ b/jdk/src/share/classes/java/util/jar/Pack200.java Wed Apr 30 15:02:24 2014 +0400
@@ -224,7 +224,7 @@
* Note: Unless otherwise noted, passing a <tt>null</tt> argument to a
* constructor or method in this class will cause a {@link NullPointerException}
* to be thrown.
- * <p>
+ *
* @since 1.5
*/
public interface Packer {
--- a/jdk/src/share/classes/java/util/jar/package.html Wed Apr 30 11:28:05 2014 +0200
+++ b/jdk/src/share/classes/java/util/jar/package.html Wed Apr 30 15:02:24 2014 +0400
@@ -43,8 +43,7 @@
file format. See
<a href="../zip/package-summary.html#package_description">java.util.zip
package description.</a> <p>
- In JAR files, all file names must be encoded in the UTF-8 encoding.
-<p>
+ In JAR files, all file names must be encoded in the UTF-8 encoding.
<li><a href="../../../../technotes/guides/jar/jar.html">
Manifest and Signature Specification</a> - The manifest format specification.
</ul>
--- a/jdk/src/share/classes/java/util/logging/ConsoleHandler.java Wed Apr 30 11:28:05 2014 +0200
+++ b/jdk/src/share/classes/java/util/logging/ConsoleHandler.java Wed Apr 30 15:02:24 2014 +0400
@@ -62,7 +62,7 @@
* <li> com.foo.MyHandler.level=INFO </li>
* <li> com.foo.MyHandler.formatter=java.util.logging.SimpleFormatter </li>
* </ul>
- * <p>
+ *
* @since 1.4
*/
public class ConsoleHandler extends StreamHandler {
@@ -86,7 +86,7 @@
* <p>
* The logging request was made initially to a <tt>Logger</tt> object,
* which initialized the <tt>LogRecord</tt> and forwarded it here.
- * <p>
+ *
* @param record description of the log event. A null record is
* silently ignored and is not published
*/
--- a/jdk/src/share/classes/java/util/logging/FileHandler.java Wed Apr 30 11:28:05 2014 +0200
+++ b/jdk/src/share/classes/java/util/logging/FileHandler.java Wed Apr 30 15:02:24 2014 +0400
@@ -243,7 +243,7 @@
/**
* Construct a default <tt>FileHandler</tt>. This will be configured
* entirely from <tt>LogManager</tt> properties (or their default values).
- * <p>
+ *
* @exception IOException if there are IO problems opening the files.
* @exception SecurityException if a security manager exists and if
* the caller does not have <tt>LoggingPermission("control"))</tt>.
--- a/jdk/src/share/classes/java/util/logging/Formatter.java Wed Apr 30 11:28:05 2014 +0200
+++ b/jdk/src/share/classes/java/util/logging/Formatter.java Wed Apr 30 15:02:24 2014 +0400
@@ -105,7 +105,6 @@
* java.text.MessageFormat is used to format the string.
* <li>Otherwise no formatting is performed.
* </ul>
- * <p>
*
* @param record the log record containing the raw message
* @return a localized and formatted message
--- a/jdk/src/share/classes/java/util/logging/Handler.java Wed Apr 30 11:28:05 2014 +0200
+++ b/jdk/src/share/classes/java/util/logging/Handler.java Wed Apr 30 15:02:24 2014 +0400
@@ -158,7 +158,7 @@
* <p>
* Some <tt>Handlers</tt> may not use <tt>Formatters</tt>, in
* which case the <tt>Formatter</tt> will be remembered, but not used.
- * <p>
+ *
* @param newFormatter the <tt>Formatter</tt> to use (may not be null)
* @exception SecurityException if a security manager exists and if
* the caller does not have <tt>LoggingPermission("control")</tt>.
@@ -329,7 +329,7 @@
* may make other <tt>Handler</tt> specific checks that might prevent a
* handler from logging the <tt>LogRecord</tt>. It will return false if
* the <tt>LogRecord</tt> is null.
- * <p>
+ *
* @param record a <tt>LogRecord</tt>
* @return true if the <tt>LogRecord</tt> would be logged.
*
--- a/jdk/src/share/classes/java/util/logging/Level.java Wed Apr 30 11:28:05 2014 +0200
+++ b/jdk/src/share/classes/java/util/logging/Level.java Wed Apr 30 15:02:24 2014 +0400
@@ -195,7 +195,7 @@
/**
* Create a named Level with a given integer value and a
* given localization resource name.
- * <p>
+ *
* @param name the name of the Level, for example "SEVERE".
* @param value an integer value for the level.
* @param resourceBundleName name of a resource bundle to use in
--- a/jdk/src/share/classes/java/util/logging/LogManager.java Wed Apr 30 11:28:05 2014 +0200
+++ b/jdk/src/share/classes/java/util/logging/LogManager.java Wed Apr 30 15:02:24 2014 +0400
@@ -1130,7 +1130,7 @@
* is no strong reference to the Logger. The caller of this method
* must check the return value for null in order to properly handle
* the case where the Logger has been garbage collected.
- * <p>
+ *
* @param name name of the logger
* @return matching logger or null if none is found
*/
@@ -1151,7 +1151,7 @@
* return value from {@code LogManager.getLogger()} for null to properly
* handle the case where the Logger has been garbage collected in the
* time since its name was returned by this method.
- * <p>
+ *
* @return enumeration of logger name strings
*/
public Enumeration<String> getLoggerNames() {
--- a/jdk/src/share/classes/java/util/logging/Logger.java Wed Apr 30 11:28:05 2014 +0200
+++ b/jdk/src/share/classes/java/util/logging/Logger.java Wed Apr 30 15:02:24 2014 +0400
@@ -338,7 +338,7 @@
* suitable per-Logger granularity. Developers also need to keep a
* strong reference to their Logger objects to prevent them from
* being garbage collected.
- * <p>
+ *
* @deprecated Initialization of this field is prone to deadlocks.
* The field must be initialized by the Logger class initialization
* which may cause deadlocks with the LogManager class initialization.
@@ -526,7 +526,7 @@
* name is used. If the named Logger already exists and has
* a different resource bundle name then an IllegalArgumentException
* is thrown.
- * <p>
+ *
* @param name A name for the logger. This should
* be a dot-separated name and should normally
* be based on the package name or class name
@@ -595,7 +595,6 @@
* from the root logger. Changing its parent via the
* {@link #setParent(java.util.logging.Logger) setParent} method
* will still require the security permission specified by that method.
- * <p>
*
* @return a newly created private Logger
*/
@@ -621,7 +620,7 @@
* from the root logger. Changing its parent via the
* {@link #setParent(java.util.logging.Logger) setParent} method
* will still require the security permission specified by that method.
- * <p>
+ *
* @param resourceBundleName name of ResourceBundle to be used for localizing
* messages for this logger.
* May be null if none of the messages require localization.
@@ -776,7 +775,7 @@
* If the logger is currently enabled for the given message
* level then the given message is forwarded to all the
* registered output Handler objects.
- * <p>
+ *
* @param level One of the message level identifiers, e.g., SEVERE
* @param msg The string message (or a key in the message catalog)
*/
@@ -796,7 +795,7 @@
* level then the message is constructed by invoking the provided
* supplier function and forwarded to all the registered output
* Handler objects.
- * <p>
+ *
* @param level One of the message level identifiers, e.g., SEVERE
* @param msgSupplier A function, which when called, produces the
* desired log message
@@ -815,7 +814,7 @@
* If the logger is currently enabled for the given message
* level then a corresponding LogRecord is created and forwarded
* to all the registered output Handler objects.
- * <p>
+ *
* @param level One of the message level identifiers, e.g., SEVERE
* @param msg The string message (or a key in the message catalog)
* @param param1 parameter to the message
@@ -836,7 +835,7 @@
* If the logger is currently enabled for the given message
* level then a corresponding LogRecord is created and forwarded
* to all the registered output Handler objects.
- * <p>
+ *
* @param level One of the message level identifiers, e.g., SEVERE
* @param msg The string message (or a key in the message catalog)
* @param params array of parameters to the message
@@ -861,7 +860,7 @@
* property, rather than the LogRecord parameters property. Thus it is
* processed specially by output Formatters and is not treated
* as a formatting parameter to the LogRecord message property.
- * <p>
+ *
* @param level One of the message level identifiers, e.g., SEVERE
* @param msg The string message (or a key in the message catalog)
* @param thrown Throwable associated with log message.
@@ -887,7 +886,7 @@
* property, rather than the LogRecord parameters property. Thus it is
* processed specially by output Formatters and is not treated
* as a formatting parameter to the LogRecord message property.
- * <p>
+ *
* @param level One of the message level identifiers, e.g., SEVERE
* @param thrown Throwable associated with log message.
* @param msgSupplier A function, which when called, produces the
@@ -914,7 +913,7 @@
* If the logger is currently enabled for the given message
* level then the given message is forwarded to all the
* registered output Handler objects.
- * <p>
+ *
* @param level One of the message level identifiers, e.g., SEVERE
* @param sourceClass name of class that issued the logging request
* @param sourceMethod name of method that issued the logging request
@@ -938,7 +937,7 @@
* level then the message is constructed by invoking the provided
* supplier function and forwarded to all the registered output
* Handler objects.
- * <p>
+ *
* @param level One of the message level identifiers, e.g., SEVERE
* @param sourceClass name of class that issued the logging request
* @param sourceMethod name of method that issued the logging request
@@ -964,7 +963,7 @@
* If the logger is currently enabled for the given message
* level then a corresponding LogRecord is created and forwarded
* to all the registered output Handler objects.
- * <p>
+ *
* @param level One of the message level identifiers, e.g., SEVERE
* @param sourceClass name of class that issued the logging request
* @param sourceMethod name of method that issued the logging request
@@ -991,7 +990,7 @@
* If the logger is currently enabled for the given message
* level then a corresponding LogRecord is created and forwarded
* to all the registered output Handler objects.
- * <p>
+ *
* @param level One of the message level identifiers, e.g., SEVERE
* @param sourceClass name of class that issued the logging request
* @param sourceMethod name of method that issued the logging request
@@ -1022,7 +1021,7 @@
* property, rather than the LogRecord parameters property. Thus it is
* processed specially by output Formatters and is not treated
* as a formatting parameter to the LogRecord message property.
- * <p>
+ *
* @param level One of the message level identifiers, e.g., SEVERE
* @param sourceClass name of class that issued the logging request
* @param sourceMethod name of method that issued the logging request
@@ -1054,7 +1053,7 @@
* property, rather than the LogRecord parameters property. Thus it is
* processed specially by output Formatters and is not treated
* as a formatting parameter to the LogRecord message property.
- * <p>
+ *
* @param level One of the message level identifiers, e.g., SEVERE
* @param sourceClass name of class that issued the logging request
* @param sourceMethod name of method that issued the logging request
@@ -1113,7 +1112,7 @@
* The msg string is localized using the named resource bundle. If the
* resource bundle name is null, or an empty String or invalid
* then the msg string is not localized.
- * <p>
+ *
* @param level One of the message level identifiers, e.g., SEVERE
* @param sourceClass name of class that issued the logging request
* @param sourceMethod name of method that issued the logging request
@@ -1147,7 +1146,7 @@
* The msg string is localized using the named resource bundle. If the
* resource bundle name is null, or an empty String or invalid
* then the msg string is not localized.
- * <p>
+ *
* @param level One of the message level identifiers, e.g., SEVERE
* @param sourceClass name of class that issued the logging request
* @param sourceMethod name of method that issued the logging request
@@ -1184,7 +1183,7 @@
* The msg string is localized using the named resource bundle. If the
* resource bundle name is null, or an empty String or invalid
* then the msg string is not localized.
- * <p>
+ *
* @param level One of the message level identifiers, e.g., SEVERE
* @param sourceClass name of class that issued the logging request
* @param sourceMethod name of method that issued the logging request
@@ -1220,7 +1219,7 @@
* The {@code msg} string is localized using the given resource bundle.
* If the resource bundle is {@code null}, then the {@code msg} string is not
* localized.
- * <p>
+ *
* @param level One of the message level identifiers, e.g., SEVERE
* @param sourceClass Name of the class that issued the logging request
* @param sourceMethod Name of the method that issued the logging request
@@ -1260,7 +1259,7 @@
* property, rather than the LogRecord parameters property. Thus it is
* processed specially by output Formatters and is not treated
* as a formatting parameter to the LogRecord message property.
- * <p>
+ *
* @param level One of the message level identifiers, e.g., SEVERE
* @param sourceClass name of class that issued the logging request
* @param sourceMethod name of method that issued the logging request
@@ -1301,7 +1300,7 @@
* property, rather than the LogRecord parameters property. Thus it is
* processed specially by output Formatters and is not treated
* as a formatting parameter to the LogRecord message property.
- * <p>
+ *
* @param level One of the message level identifiers, e.g., SEVERE
* @param sourceClass Name of the class that issued the logging request
* @param sourceMethod Name of the method that issued the logging request
@@ -1333,7 +1332,7 @@
* This is a convenience method that can be used to log entry
* to a method. A LogRecord with message "ENTRY", log level
* FINER, and the given sourceMethod and sourceClass is logged.
- * <p>
+ *
* @param sourceClass name of class that issued the logging request
* @param sourceMethod name of method that is being entered
*/
@@ -1348,7 +1347,7 @@
* to a method. A LogRecord with message "ENTRY {0}", log level
* FINER, and the given sourceMethod, sourceClass, and parameter
* is logged.
- * <p>
+ *
* @param sourceClass name of class that issued the logging request
* @param sourceMethod name of method that is being entered
* @param param1 parameter to the method being entered
@@ -1365,7 +1364,7 @@
* format {N} indicator for each entry in the parameter array),
* log level FINER, and the given sourceMethod, sourceClass, and
* parameters is logged.
- * <p>
+ *
* @param sourceClass name of class that issued the logging request
* @param sourceMethod name of method that is being entered
* @param params array of parameters to the method being entered
@@ -1389,7 +1388,7 @@
* This is a convenience method that can be used to log returning
* from a method. A LogRecord with message "RETURN", log level
* FINER, and the given sourceMethod and sourceClass is logged.
- * <p>
+ *
* @param sourceClass name of class that issued the logging request
* @param sourceMethod name of the method
*/
@@ -1405,7 +1404,7 @@
* from a method. A LogRecord with message "RETURN {0}", log level
* FINER, and the gives sourceMethod, sourceClass, and result
* object is logged.
- * <p>
+ *
* @param sourceClass name of class that issued the logging request
* @param sourceMethod name of the method
* @param result Object that is being returned
@@ -1430,7 +1429,7 @@
* property, rather than the LogRecord parameters property. Thus it is
* processed specially by output Formatters and is not treated
* as a formatting parameter to the LogRecord message property.
- * <p>
+ *
* @param sourceClass name of class that issued the logging request
* @param sourceMethod name of the method.
* @param thrown The Throwable that is being thrown.
@@ -1456,7 +1455,7 @@
* If the logger is currently enabled for the SEVERE message
* level then the given message is forwarded to all the
* registered output Handler objects.
- * <p>
+ *
* @param msg The string message (or a key in the message catalog)
*/
public void severe(String msg) {
@@ -1469,7 +1468,7 @@
* If the logger is currently enabled for the WARNING message
* level then the given message is forwarded to all the
* registered output Handler objects.
- * <p>
+ *
* @param msg The string message (or a key in the message catalog)
*/
public void warning(String msg) {
@@ -1482,7 +1481,7 @@
* If the logger is currently enabled for the INFO message
* level then the given message is forwarded to all the
* registered output Handler objects.
- * <p>
+ *
* @param msg The string message (or a key in the message catalog)
*/
public void info(String msg) {
@@ -1495,7 +1494,7 @@
* If the logger is currently enabled for the CONFIG message
* level then the given message is forwarded to all the
* registered output Handler objects.
- * <p>
+ *
* @param msg The string message (or a key in the message catalog)
*/
public void config(String msg) {
@@ -1508,7 +1507,7 @@
* If the logger is currently enabled for the FINE message
* level then the given message is forwarded to all the
* registered output Handler objects.
- * <p>
+ *
* @param msg The string message (or a key in the message catalog)
*/
public void fine(String msg) {
@@ -1521,7 +1520,7 @@
* If the logger is currently enabled for the FINER message
* level then the given message is forwarded to all the
* registered output Handler objects.
- * <p>
+ *
* @param msg The string message (or a key in the message catalog)
*/
public void finer(String msg) {
@@ -1534,7 +1533,7 @@
* If the logger is currently enabled for the FINEST message
* level then the given message is forwarded to all the
* registered output Handler objects.
- * <p>
+ *
* @param msg The string message (or a key in the message catalog)
*/
public void finest(String msg) {
@@ -1554,7 +1553,7 @@
* level then the message is constructed by invoking the provided
* supplier function and forwarded to all the registered output
* Handler objects.
- * <p>
+ *
* @param msgSupplier A function, which when called, produces the
* desired log message
* @since 1.8
@@ -1571,7 +1570,7 @@
* level then the message is constructed by invoking the provided
* supplier function and forwarded to all the registered output
* Handler objects.
- * <p>
+ *
* @param msgSupplier A function, which when called, produces the
* desired log message
* @since 1.8
@@ -1588,7 +1587,7 @@
* level then the message is constructed by invoking the provided
* supplier function and forwarded to all the registered output
* Handler objects.
- * <p>
+ *
* @param msgSupplier A function, which when called, produces the
* desired log message
* @since 1.8
@@ -1605,7 +1604,7 @@
* level then the message is constructed by invoking the provided
* supplier function and forwarded to all the registered output
* Handler objects.
- * <p>
+ *
* @param msgSupplier A function, which when called, produces the
* desired log message
* @since 1.8
@@ -1622,7 +1621,7 @@
* level then the message is constructed by invoking the provided
* supplier function and forwarded to all the registered output
* Handler objects.
- * <p>
+ *
* @param msgSupplier A function, which when called, produces the
* desired log message
* @since 1.8
@@ -1639,7 +1638,7 @@
* level then the message is constructed by invoking the provided
* supplier function and forwarded to all the registered output
* Handler objects.
- * <p>
+ *
* @param msgSupplier A function, which when called, produces the
* desired log message
* @since 1.8
@@ -1656,7 +1655,7 @@
* level then the message is constructed by invoking the provided
* supplier function and forwarded to all the registered output
* Handler objects.
- * <p>
+ *
* @param msgSupplier A function, which when called, produces the
* desired log message
* @since 1.8
@@ -1769,7 +1768,7 @@
/**
* Get the Handlers associated with this logger.
- * <p>
+ *
* @return an array of all registered Handlers
*/
public Handler[] getHandlers() {
@@ -2015,7 +2014,7 @@
* the LogManager to update a Logger when the namespace changes.
* <p>
* It should not be called from application code.
- * <p>
+ *
* @param parent the new parent logger
* @throws SecurityException if a security manager exists and if
* the caller does not have LoggingPermission("control").
--- a/jdk/src/share/classes/java/util/logging/MemoryHandler.java Wed Apr 30 11:28:05 2014 +0200
+++ b/jdk/src/share/classes/java/util/logging/MemoryHandler.java Wed Apr 30 15:02:24 2014 +0400
@@ -82,7 +82,7 @@
* <li> com.foo.MyHandler.level=INFO </li>
* <li> com.foo.MyHandler.formatter=java.util.logging.SimpleFormatter </li>
* </ul>
- * <p>
+ *
* @since 1.4
*/
@@ -267,7 +267,7 @@
* whether it satisfies any <tt>Filter</tt>. However it does <b>not</b>
* check whether the <tt>LogRecord</tt> would result in a "push" of the
* buffer contents. It will return false if the <tt>LogRecord</tt> is null.
- * <p>
+ *
* @param record a <tt>LogRecord</tt>
* @return true if the <tt>LogRecord</tt> would be logged.
*
--- a/jdk/src/share/classes/java/util/logging/StreamHandler.java Wed Apr 30 11:28:05 2014 +0200
+++ b/jdk/src/share/classes/java/util/logging/StreamHandler.java Wed Apr 30 15:02:24 2014 +0400
@@ -71,7 +71,7 @@
* <li> com.foo.MyHandler.level=INFO </li>
* <li> com.foo.MyHandler.formatter=java.util.logging.SimpleFormatter </li>
* </ul>
- * <p>
+ *
* @since 1.4
*/
@@ -91,7 +91,7 @@
/**
* Create a <tt>StreamHandler</tt> with a given <tt>Formatter</tt>
* and output stream.
- * <p>
+ *
* @param out the target output stream
* @param formatter Formatter to be used to format output
*/
@@ -224,7 +224,7 @@
* This method checks if the <tt>LogRecord</tt> has an appropriate level and
* whether it satisfies any <tt>Filter</tt>. It will also return false if
* no output stream has been assigned yet or the LogRecord is null.
- * <p>
+ *
* @param record a <tt>LogRecord</tt>
* @return true if the <tt>LogRecord</tt> would be logged.
*
--- a/jdk/src/share/classes/java/util/logging/package.html Wed Apr 30 11:28:05 2014 +0200
+++ b/jdk/src/share/classes/java/util/logging/package.html Wed Apr 30 15:02:24 2014 +0400
@@ -54,18 +54,18 @@
When a problem occurs in the field, it may be necessary to return the captured logging
information to the original development team for diagnosis. This logging
information may be extremely detailed and fairly inscrutable. Such information might include
- detailed tracing on the internal execution of particular subsystems.
+ detailed tracing on the internal execution of particular subsystems.
<LI> <I>Problem diagnosis by developers</I>. The Logging APIs may also be
used to help debug an application under development. This may
include logging information generated by the target application
- as well as logging information generated by lower-level libraries.
+ as well as logging information generated by lower-level libraries.
Note however that while this use is perfectly reasonable,
the logging APIs are not intended to replace the normal debugging
and profiling tools that may already exist in the development environment.
</OL>
-</P>
+<p>
The key elements of this package include:
<UL>
<LI> <I>Logger</I>: The main entity on which applications make
@@ -111,7 +111,7 @@
log, logp, logrb, severe, throwing, and warning methods)
will accept null values
for all arguments except for the initial Level argument (if any).
-<p>
+
<H2>Related Documentation</H2>
<P>
For an overview of control flow,
--- a/jdk/src/share/classes/java/util/prefs/PreferenceChangeListener.java Wed Apr 30 11:28:05 2014 +0200
+++ b/jdk/src/share/classes/java/util/prefs/PreferenceChangeListener.java Wed Apr 30 15:02:24 2014 +0400
@@ -39,7 +39,7 @@
/**
* This method gets called when a preference is added, removed or when
* its value is changed.
- * <p>
+ *
* @param evt A PreferenceChangeEvent object describing the event source
* and the preference that has changed.
*/
--- a/jdk/src/share/classes/java/util/regex/Matcher.java Wed Apr 30 11:28:05 2014 +0200
+++ b/jdk/src/share/classes/java/util/regex/Matcher.java Wed Apr 30 15:02:24 2014 +0400
@@ -830,7 +830,7 @@
*
* <p> The replacement string may contain references to subsequences
* captured during the previous match: Each occurrence of
- * <tt>$</tt><i>g</i><tt></tt> will be replaced by the result of
+ * <tt>$</tt><i>g</i> will be replaced by the result of
* evaluating {@link #group(int) group}<tt>(</tt><i>g</i><tt>)</tt>.
* The first number after the <tt>$</tt> is always treated as part of
* the group reference. Subsequent numbers are incorporated into g if
--- a/jdk/src/share/classes/java/util/zip/package.html Wed Apr 30 11:28:05 2014 +0200
+++ b/jdk/src/share/classes/java/util/zip/package.html Wed Apr 30 15:02:24 2014 +0400
@@ -39,45 +39,35 @@
<h2>Package Specification</h2>
-</a>
<ul>
<li><a href="http://www.info-zip.org/doc/appnote-19970311-iz.zip">
Info-ZIP Application Note 970311
</a> - a detailed description of the Info-ZIP format upon which
the <code>java.util.zip</code> classes are based.
-<p>
- <a name="zip64">
- <li>An implementation may optionally support the ZIP64(tm) format extensions
- defined by the
+ <li><a name="zip64">An implementation may optionally support the ZIP64(tm) format extensions
+ defined by the </a>
<a href="http://www.pkware.com/documents/casestudies/APPNOTE.TXT">
PKWARE ZIP File Format Specification</a>. The ZIP64(tm) format extensions
are used to overcome the size limitations of the original ZIP format.
-<p>
- <a name="lang_encoding">
- <li>APPENDIX D of <a href="http://www.pkware.com/documents/casestudies/APPNOTE.TXT">
+ <li><a name="lang_encoding">APPENDIX D of </a><a href="http://www.pkware.com/documents/casestudies/APPNOTE.TXT">
PKWARE ZIP File Format Specification</a> - Language Encoding Flag (EFS) to
encode ZIP entry filename and comment fields using UTF-8.
-<p>
<li><a href="http://www.ietf.org/rfc/rfc1950.txt">
ZLIB Compressed Data Format Specification version 3.3</a>
<a href="http://www.ietf.org/rfc/rfc1950.txt.pdf">(pdf)</a>
(RFC 1950)
-<p>
<li><a href="http://www.ietf.org/rfc/rfc1951.txt">
DEFLATE Compressed Data Format Specification version 1.3</a>
<a href="http://www.ietf.org/rfc/rfc1951.txt.pdf">(pdf)</a>
(RFC 1951)
-<p>
<li><a href="http://www.ietf.org/rfc/rfc1952.txt">
GZIP file format specification version 4.3</a>
<a href="http://www.ietf.org/rfc/rfc1952.txt.pdf">(pdf)</a>
(RFC 1952)
-<p>
<li>CRC-32 checksum is described in RFC 1952 (above)
-<p>
<li>Adler-32 checksum is described in RFC 1950 (above)
</ul>