--- a/src/java.naming/share/classes/javax/naming/event/EventContext.java Thu Mar 14 15:31:13 2019 +0100
+++ b/src/java.naming/share/classes/javax/naming/event/EventContext.java Thu Mar 14 10:50:35 2019 -0400
@@ -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
@@ -34,7 +34,7 @@
* Contains methods for registering/deregistering listeners to be notified of
* events fired when objects named in a context changes.
*
- *<h1>Target</h1>
+ *<h2>Target</h2>
* The name parameter in the {@code addNamingListener()} methods is referred
* to as the <em>target</em>. The target, along with the scope, identify
* the object(s) that the listener is interested in.
@@ -59,7 +59,7 @@
* whether an {@code EventContext} supports registration
* of nonexistent targets.
*
- *<h1>Event Source</h1>
+ *<h2>Event Source</h2>
* The {@code EventContext} instance on which you invoke the
* registration methods is the <em>event source</em> of the events that are
* (potentially) generated.
@@ -93,7 +93,7 @@
* it needs to keep a reference to the listener in order to remove it
* later). It cannot expect to do a {@code lookup()} and get another instance of
* an {@code EventContext} on which to perform the deregistration.
- *<h1>Lifetime of Registration</h1>
+ *<h2>Lifetime of Registration</h2>
* A registered listener becomes deregistered when:
*<ul>
*<li>It is removed using {@code removeNamingListener()}.
@@ -105,7 +105,7 @@
* Until that point, an {@code EventContext} instance that has outstanding
* listeners will continue to exist and be maintained by the service provider.
*
- *<h1>Listener Implementations</h1>
+ *<h2>Listener Implementations</h2>
* The registration/deregistration methods accept an instance of
* {@code NamingListener}. There are subinterfaces of {@code NamingListener}
* for different of event types of {@code NamingEvent}.
@@ -118,7 +118,7 @@
* of the listeners, this allows some service providers to optimize the
* registration.
*
- *<h1>Threading Issues</h1>
+ *<h2>Threading Issues</h2>
*
* Like {@code Context} instances in general, instances of
* {@code EventContext} are not guaranteed to be thread-safe.