# HG changeset patch # User yan # Date 1396527040 -14400 # Node ID d46a902c1aed2d05c60c997d757e2edaf1306334 # Parent 95fb268275e3d52ccbd8e9c3c1d4aadd6ca637e4 8039041: Tidy warnings cleanup for javax.naming Reviewed-by: alanb, lancea Contributed-by: Alexander Stepanov diff -r 95fb268275e3 -r d46a902c1aed jdk/src/share/classes/javax/naming/event/package.html --- 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 @@ namingExceptionThrown() method is invoked, as shown in the sample code above, and the listener is automatically deregistered. -

Package Specification

diff -r 95fb268275e3 -r d46a902c1aed jdk/src/share/classes/javax/naming/ldap/ControlFactory.java --- 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 @@ *

* Note that a control factory * must be public and must have a public constructor that accepts no arguments. - *

+ * * @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. diff -r 95fb268275e3 -r d46a902c1aed jdk/src/share/classes/javax/naming/ldap/LdapContext.java --- 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. - *

+ * * @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 diff -r 95fb268275e3 -r d46a902c1aed jdk/src/share/classes/javax/naming/ldap/Rdn.java --- 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 @@ * *

* If obj is null or not an instance of Rdn, false is returned. - *

+ * * @param obj object to be compared for equality with this Rdn. * @return true if the specified object is equal to this Rdn. * @see #hashCode() diff -r 95fb268275e3 -r d46a902c1aed jdk/src/share/classes/javax/naming/ldap/package.html --- 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 @@ } -

-

Package Specification

The JNDI API Specification and related documents can be found in the diff -r 95fb268275e3 -r d46a902c1aed jdk/src/share/classes/javax/naming/package.html --- 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. -

Bindings

diff -r 95fb268275e3 -r d46a902c1aed jdk/src/share/classes/javax/naming/spi/DirectoryManager.java --- 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 @@ * * Service providers that implement the DirContext interface * should use this method, not NamingManager.getObjectInstance(). - *

* * @param refInfo The possibly null object for which to create an object. * @param name The name of this object relative to nameCtx. diff -r 95fb268275e3 -r d46a902c1aed jdk/src/share/classes/javax/naming/spi/NamingManager.java --- 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. - *

+ * * @param builder The factory builder to install. If null, no builder * is installed. * @exception SecurityException builder cannot be installed diff -r 95fb268275e3 -r d46a902c1aed jdk/src/share/classes/javax/naming/spi/ObjectFactory.java --- 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 nameCtx it should synchronize its use * against concurrent access, since context implementations are not * guaranteed to be thread-safe. - *

* * @param obj The possibly null object containing location or reference * information that can be used in creating an object.