8039041: Tidy warnings cleanup for javax.naming

Reviewed-by: alanb, lancea
This commit is contained in:
Alexander Stepanov 2014-04-03 16:10:40 +04:00 committed by Yuri Nesterenko
parent a0c0ddf149
commit d72103380e
9 changed files with 4 additions and 10 deletions

View File

@ -112,7 +112,6 @@ fired to notify the listener. The listener's
<tt>namingExceptionThrown()</tt> method is invoked, as shown in the
sample code above,
and the listener is automatically deregistered.
<p>
<h2>Package Specification</h2>

View File

@ -114,7 +114,7 @@ public abstract class ControlFactory {
* <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.

View File

@ -319,7 +319,7 @@ public interface LdapContext extends DirContext {
* 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

View File

@ -352,7 +352,7 @@ public class Rdn implements Serializable, Comparable<Object> {
* </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()

View File

@ -255,8 +255,6 @@ public class VendorXControlFactory extends ControlFactory {
}
</pre></blockquote>
<p>
<h2>Package Specification</h2>
The JNDI API Specification and related documents can be found in the

View File

@ -81,7 +81,6 @@ them, comparing components, and so on.
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>

View File

@ -120,7 +120,6 @@ public class DirectoryManager extends NamingManager {
*</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>.

View File

@ -92,7 +92,7 @@ public class NamingManager {
* 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

View File

@ -149,7 +149,6 @@ public interface ObjectFactory {
* 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.