8225129: Fix minor HTML issues in java.naming
authorjjg
Fri, 31 May 2019 10:59:54 -0700
changeset 55131 9889f5e3ba00
parent 55130 e6e4de80e058
child 55132 4c1b0b71c629
8225129: Fix minor HTML issues in java.naming Reviewed-by: mchung, lancea
src/java.naming/share/classes/javax/naming/directory/package.html
src/java.naming/share/classes/javax/naming/event/package.html
src/java.naming/share/classes/javax/naming/ldap/InitialLdapContext.java
src/java.naming/share/classes/javax/naming/ldap/package.html
src/java.naming/share/classes/javax/naming/package.html
src/java.naming/share/classes/javax/naming/spi/package.html
--- a/src/java.naming/share/classes/javax/naming/directory/package.html	Fri May 31 13:09:15 2019 -0400
+++ b/src/java.naming/share/classes/javax/naming/directory/package.html	Fri May 31 10:59:54 2019 -0700
@@ -2,7 +2,7 @@
 <html>
 <head>
 <!--
-Copyright (c) 1999, 2006, Oracle and/or its affiliates. All rights reserved.
+Copyright (c) 1999, 2019, Oracle and/or its affiliates. All rights reserved.
 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 
 This code is free software; you can redistribute it and/or modify it
@@ -45,7 +45,7 @@
 associated with objects stored in a directory, and to search for
 objects using specified attributes.
 
-<h3>The Directory Context</h3>
+<h2>The Directory Context</h2>
 
 The <code>DirContext</code>
 interface represents a <em>directory context</em>.
@@ -68,7 +68,7 @@
 a context for naming objects relative to that person
 such as his printers and home directory.
 
-<h4>Searches</h4>
+<h3>Searches</h3>
 <code>DirContext</code> contains methods for
 performing content-based searching of the directory.
 In the simplest and most common form of usage, the application
--- a/src/java.naming/share/classes/javax/naming/event/package.html	Fri May 31 13:09:15 2019 -0400
+++ b/src/java.naming/share/classes/javax/naming/event/package.html	Fri May 31 10:59:54 2019 -0700
@@ -2,7 +2,7 @@
 <html>
 <head>
 <!--
-Copyright (c) 1999, 2006, Oracle and/or its affiliates. All rights reserved.
+Copyright (c) 1999, 2019, Oracle and/or its affiliates. All rights reserved.
 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 
 This code is free software; you can redistribute it and/or modify it
@@ -40,7 +40,7 @@
 implementation.  Thus a variety of services--new, emerging, and
 already deployed ones--can be accessed in a common way.
 
-<h3>Naming Events</h3>
+<h2>Naming Events</h2>
 <p>
 This package defines a <code>NamingEvent</code> class to represent an event
 that is generated by a naming/directory service.
@@ -79,7 +79,7 @@
 </blockquote>
 
 <a id=THREADING></a>
-<h4>Threading Issues</h4>
+<h3>Threading Issues</h3>
 
 When an event is dispatched to a listener, the listener method (such
 as <code>objectChanged()</code>) may be executed in a thread other than the
@@ -98,7 +98,7 @@
 instances are not guaranteed to be thread-safe in general, all context
 operations must be synchronized as needed.
 
-<h4>Exception Handling</h4>
+<h3>Exception Handling</h3>
 
 When a listener registers for events with a context, the context might
 need to do some internal processing in order to collect information
--- a/src/java.naming/share/classes/javax/naming/ldap/InitialLdapContext.java	Fri May 31 13:09:15 2019 -0400
+++ b/src/java.naming/share/classes/javax/naming/ldap/InitialLdapContext.java	Fri May 31 10:59:54 2019 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2019, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -38,7 +38,7 @@
   * {@code javax.naming.InitialDirContext} for details on synchronization,
   * and the policy for how an initial context is created.
   *
-  * <h1>Request Controls</h1>
+  * <h2>Request Controls</h2>
   * When you create an initial context ({@code InitialLdapContext}),
   * you can specify a list of request controls.
   * These controls will be used as the request controls for any
--- a/src/java.naming/share/classes/javax/naming/ldap/package.html	Fri May 31 13:09:15 2019 -0400
+++ b/src/java.naming/share/classes/javax/naming/ldap/package.html	Fri May 31 10:59:54 2019 -0700
@@ -2,7 +2,7 @@
 <html>
 <head>
 <!--
-Copyright (c) 1999, 2006, Oracle and/or its affiliates. All rights reserved.
+Copyright (c) 1999, 2019, Oracle and/or its affiliates. All rights reserved.
 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 
 This code is free software; you can redistribute it and/or modify it
@@ -48,7 +48,7 @@
 methods on a context for performing extended operations and handling
 controls.
 
-<h3>Extended Operations</h3>
+<h2>Extended Operations</h2>
 <p>
 This package defines the interface <code>ExtendedRequest</code>
 to represent the argument to an extended operation,
@@ -125,7 +125,7 @@
 }
 </pre></blockquote>
 
-<h3>Controls</h3>
+<h2>Controls</h2>
 
 This package defines the interface <code>Control</code> to represent an LDAPv3
 control. It can be a control that is sent to an LDAP server
--- a/src/java.naming/share/classes/javax/naming/package.html	Fri May 31 13:09:15 2019 -0400
+++ b/src/java.naming/share/classes/javax/naming/package.html	Fri May 31 10:59:54 2019 -0700
@@ -2,7 +2,7 @@
 <html>
 <head>
 <!--
-Copyright (c) 1999, 2006, Oracle and/or its affiliates. All rights reserved.
+Copyright (c) 1999, 2019, Oracle and/or its affiliates. All rights reserved.
 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 
 This code is free software; you can redistribute it and/or modify it
@@ -40,7 +40,7 @@
 already deployed ones--can be accessed in a common way.
 
 
-<h3>Context</h3>
+<h2>Context</h2>
 <p>
 This package defines the notion of a <em>context</em>, represented
 by the <code>Context</code> interface.
@@ -63,7 +63,7 @@
 </pre>
 </blockquote>
 
-<h3>Names</h3>
+<h2>Names</h2>
 <p>
 Every naming method in the <code>Context</code>
 interface has two
@@ -82,7 +82,7 @@
 for simple applications, such as those that simply read in a name
 and look up the corresponding object.
 
-<h3>Bindings</h3>
+<h2>Bindings</h2>
 
 The <code>Binding</code> class represents a name-to-object binding.
 It is a tuple containing the name of the bound object,
@@ -95,7 +95,7 @@
 information about the object's class and do not want to
 pay the extra cost of getting the object.
 
-<h3>References</h3>
+<h2>References</h2>
 Objects are stored in naming and directory services in different ways.
 If an object store supports storing Java objects, 
 it might support storing an object in its serialized form.
@@ -112,7 +112,7 @@
 is stored in the directory are Java objects. 
 
 
-<h3>The Initial Context</h3>
+<h2>The Initial Context</h2>
 
 In JNDI, all naming and directory operations are performed relative
 to a context. There are no absolute roots.
@@ -122,7 +122,7 @@
 Once you have an initial context, you can use it to
 look up other contexts and objects.
 
-<h3>Exceptions</h3>
+<h2>Exceptions</h2>
 
 JNDI defines a class hierarchy for exceptions that can be thrown in
 the course of performing naming and directory operations.  The root of
--- a/src/java.naming/share/classes/javax/naming/spi/package.html	Fri May 31 13:09:15 2019 -0400
+++ b/src/java.naming/share/classes/javax/naming/spi/package.html	Fri May 31 10:59:54 2019 -0700
@@ -2,7 +2,7 @@
 <html>
 <head>
 <!--
-Copyright (c) 1999, 2015, Oracle and/or its affiliates. All rights reserved.
+Copyright (c) 1999, 2019, Oracle and/or its affiliates. All rights reserved.
 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 
 This code is free software; you can redistribute it and/or modify it
@@ -47,7 +47,7 @@
 directory services.
 
 
-<h3>Plug-in Architecture</h3>
+<h2>Plug-in Architecture</h2>
 
 The service provider package allows different implementations to be plugged in
 dynamically.
@@ -56,7 +56,7 @@
 and implementations for contexts that can be reached 
 from the initial context.
 
-<h3>Java Object Support</h3>
+<h2>Java Object Support</h2>
 
 The service provider package provides support
 for implementors of the
@@ -68,7 +68,7 @@
 back a printer object on which to operate.
 
 
-<h3>Multiple Naming Systems (Federation)</h3>
+<h2>Multiple Naming Systems (Federation)</h2>
 
 JNDI operations allow applications to supply names that span multiple
 naming systems.  So in the process of completing