8039041: Tidy warnings cleanup for javax.naming
Reviewed-by: alanb, lancea
Contributed-by: Alexander Stepanov <alexander.v.stepanov@oracle.com>
--- a/jdk/src/share/classes/javax/naming/event/package.html Wed Apr 02 21:38:45 2014 -0700
+++ b/jdk/src/share/classes/javax/naming/event/package.html Thu Apr 03 16:10:40 2014 +0400
@@ -112,7 +112,6 @@
<tt>namingExceptionThrown()</tt> method is invoked, as shown in the
sample code above,
and the listener is automatically deregistered.
-<p>
<h2>Package Specification</h2>
--- a/jdk/src/share/classes/javax/naming/ldap/ControlFactory.java Wed Apr 02 21:38:45 2014 -0700
+++ b/jdk/src/share/classes/javax/naming/ldap/ControlFactory.java Thu Apr 03 16:10:40 2014 +0400
@@ -114,7 +114,7 @@
* <p>
* Note that a control factory
* must be public and must have a public constructor that accepts no arguments.
- * <p>
+ *
* @param ctl The non-null control object containing the OID and BER data.
* @param ctx The possibly null context in which the control is being created.
* If null, no such information is available.
--- a/jdk/src/share/classes/javax/naming/ldap/LdapContext.java Wed Apr 02 21:38:45 2014 -0700
+++ b/jdk/src/share/classes/javax/naming/ldap/LdapContext.java Thu Apr 03 16:10:40 2014 +0400
@@ -319,7 +319,7 @@
* clear the response controls. You can call it many times (and get
* back the same controls) until the next context method that may return
* controls is invoked.
- *<p>
+ *
* @return A possibly null array of controls. If null, the previous
* method invoked on this context did not produce any controls.
* @exception NamingException If an error occurred while getting the response
--- a/jdk/src/share/classes/javax/naming/ldap/Rdn.java Wed Apr 02 21:38:45 2014 -0700
+++ b/jdk/src/share/classes/javax/naming/ldap/Rdn.java Thu Apr 03 16:10:40 2014 +0400
@@ -352,7 +352,7 @@
* </ul>
* <p>
* If obj is null or not an instance of Rdn, false is returned.
- * <p>
+ *
* @param obj object to be compared for equality with this Rdn.
* @return true if the specified object is equal to this Rdn.
* @see #hashCode()
--- a/jdk/src/share/classes/javax/naming/ldap/package.html Wed Apr 02 21:38:45 2014 -0700
+++ b/jdk/src/share/classes/javax/naming/ldap/package.html Thu Apr 03 16:10:40 2014 +0400
@@ -255,8 +255,6 @@
}
</pre></blockquote>
-<p>
-
<h2>Package Specification</h2>
The JNDI API Specification and related documents can be found in the
--- a/jdk/src/share/classes/javax/naming/package.html Wed Apr 02 21:38:45 2014 -0700
+++ b/jdk/src/share/classes/javax/naming/package.html Thu Apr 03 16:10:40 2014 +0400
@@ -81,7 +81,6 @@
The overloads that accept string names are likely to be more useful
for simple applications, such as those that simply read in a name
and look up the corresponding object.
-<p>
<h4>Bindings</h4>
--- a/jdk/src/share/classes/javax/naming/spi/DirectoryManager.java Wed Apr 02 21:38:45 2014 -0700
+++ b/jdk/src/share/classes/javax/naming/spi/DirectoryManager.java Thu Apr 03 16:10:40 2014 +0400
@@ -120,7 +120,6 @@
*</ul>
* Service providers that implement the <tt>DirContext</tt> interface
* should use this method, not <tt>NamingManager.getObjectInstance()</tt>.
- *<p>
*
* @param refInfo The possibly null object for which to create an object.
* @param name The name of this object relative to <code>nameCtx</code>.
--- a/jdk/src/share/classes/javax/naming/spi/NamingManager.java Wed Apr 02 21:38:45 2014 -0700
+++ b/jdk/src/share/classes/javax/naming/spi/NamingManager.java Thu Apr 03 16:10:40 2014 +0400
@@ -92,7 +92,7 @@
* The builder can only be installed if the executing thread is allowed
* (by the security manager's checkSetFactory() method) to do so.
* Once installed, the builder cannot be replaced.
- *<p>
+ *
* @param builder The factory builder to install. If null, no builder
* is installed.
* @exception SecurityException builder cannot be installed
--- a/jdk/src/share/classes/javax/naming/spi/ObjectFactory.java Wed Apr 02 21:38:45 2014 -0700
+++ b/jdk/src/share/classes/javax/naming/spi/ObjectFactory.java Thu Apr 03 16:10:40 2014 +0400
@@ -149,7 +149,6 @@
* If a factory uses <code>nameCtx</code> it should synchronize its use
* against concurrent access, since context implementations are not
* guaranteed to be thread-safe.
- * <p>
*
* @param obj The possibly null object containing location or reference
* information that can be used in creating an object.