8220248: fix headings in java.util.concurrent
authordl
Thu, 02 May 2019 06:33:28 -0700
changeset 54685 e1bec7613945
parent 54684 c277ec29ee12
child 54686 09f09b4e7808
8220248: fix headings in java.util.concurrent Reviewed-by: martin, jjg
src/java.base/share/classes/java/util/concurrent/ExecutorService.java
src/java.base/share/classes/java/util/concurrent/ScheduledExecutorService.java
src/java.base/share/classes/java/util/concurrent/locks/AbstractQueuedSynchronizer.java
src/java.base/share/classes/java/util/concurrent/locks/Condition.java
src/java.base/share/classes/java/util/concurrent/locks/Lock.java
src/java.base/share/classes/java/util/concurrent/locks/ReentrantReadWriteLock.java
--- a/src/java.base/share/classes/java/util/concurrent/ExecutorService.java	Thu May 02 06:33:28 2019 -0700
+++ b/src/java.base/share/classes/java/util/concurrent/ExecutorService.java	Thu May 02 06:33:28 2019 -0700
@@ -66,7 +66,7 @@
  * <p>The {@link Executors} class provides factory methods for the
  * executor services provided in this package.
  *
- * <h3>Usage Examples</h3>
+ * <h2>Usage Examples</h2>
  *
  * Here is a sketch of a network service in which threads in a thread
  * pool service incoming requests. It uses the preconfigured {@link
--- a/src/java.base/share/classes/java/util/concurrent/ScheduledExecutorService.java	Thu May 02 06:33:28 2019 -0700
+++ b/src/java.base/share/classes/java/util/concurrent/ScheduledExecutorService.java	Thu May 02 06:33:28 2019 -0700
@@ -65,7 +65,7 @@
  * <p>The {@link Executors} class provides convenient factory methods for
  * the ScheduledExecutorService implementations provided in this package.
  *
- * <h3>Usage Example</h3>
+ * <h2>Usage Example</h2>
  *
  * Here is a class with a method that sets up a ScheduledExecutorService
  * to beep every ten seconds for an hour:
--- a/src/java.base/share/classes/java/util/concurrent/locks/AbstractQueuedSynchronizer.java	Thu May 02 06:33:28 2019 -0700
+++ b/src/java.base/share/classes/java/util/concurrent/locks/AbstractQueuedSynchronizer.java	Thu May 02 06:33:28 2019 -0700
@@ -104,7 +104,7 @@
  * define a {@code readObject} method that restores this to a known
  * initial state upon deserialization.
  *
- * <h3>Usage</h3>
+ * <h2>Usage</h2>
  *
  * <p>To use this class as the basis of a synchronizer, redefine the
  * following methods, as applicable, by inspecting and/or modifying
@@ -187,7 +187,7 @@
  * {@link java.util.Queue} classes, and {@link LockSupport} blocking
  * support.
  *
- * <h3>Usage Examples</h3>
+ * <h2>Usage Examples</h2>
  *
  * <p>Here is a non-reentrant mutual exclusion lock class that uses
  * the value zero to represent the unlocked state, and one to
--- a/src/java.base/share/classes/java/util/concurrent/locks/Condition.java	Thu May 02 06:33:28 2019 -0700
+++ b/src/java.base/share/classes/java/util/concurrent/locks/Condition.java	Thu May 02 06:33:28 2019 -0700
@@ -138,7 +138,7 @@
  * <p>Except where noted, passing a {@code null} value for any parameter
  * will result in a {@link NullPointerException} being thrown.
  *
- * <h3>Implementation Considerations</h3>
+ * <h2>Implementation Considerations</h2>
  *
  * <p>When waiting upon a {@code Condition}, a &quot;<em>spurious
  * wakeup</em>&quot; is permitted to occur, in
--- a/src/java.base/share/classes/java/util/concurrent/locks/Lock.java	Thu May 02 06:33:28 2019 -0700
+++ b/src/java.base/share/classes/java/util/concurrent/locks/Lock.java	Thu May 02 06:33:28 2019 -0700
@@ -117,7 +117,7 @@
  * parameter will result in a {@link NullPointerException} being
  * thrown.
  *
- * <h3>Memory Synchronization</h3>
+ * <h2>Memory Synchronization</h2>
  *
  * <p>All {@code Lock} implementations <em>must</em> enforce the same
  * memory synchronization semantics as provided by the built-in monitor
@@ -136,7 +136,7 @@
  * locking/unlocking operations, do not require any memory
  * synchronization effects.
  *
- * <h3>Implementation Considerations</h3>
+ * <h2>Implementation Considerations</h2>
  *
  * <p>The three forms of lock acquisition (interruptible,
  * non-interruptible, and timed) may differ in their performance
--- a/src/java.base/share/classes/java/util/concurrent/locks/ReentrantReadWriteLock.java	Thu May 02 06:33:28 2019 -0700
+++ b/src/java.base/share/classes/java/util/concurrent/locks/ReentrantReadWriteLock.java	Thu May 02 06:33:28 2019 -0700
@@ -204,7 +204,7 @@
  *   }
  * }}</pre>
  *
- * <h3>Implementation Notes</h3>
+ * <h2>Implementation Notes</h2>
  *
  * <p>This lock supports a maximum of 65535 recursive write locks
  * and 65535 read locks. Attempts to exceed these limits result in