Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.equinox.common/src/org/eclipse/core/runtime/ListenerList.java')
-rw-r--r--bundles/org.eclipse.equinox.common/src/org/eclipse/core/runtime/ListenerList.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.equinox.common/src/org/eclipse/core/runtime/ListenerList.java b/bundles/org.eclipse.equinox.common/src/org/eclipse/core/runtime/ListenerList.java
index f17053f70..83aa5e26b 100644
--- a/bundles/org.eclipse.equinox.common/src/org/eclipse/core/runtime/ListenerList.java
+++ b/bundles/org.eclipse.equinox.common/src/org/eclipse/core/runtime/ListenerList.java
@@ -26,7 +26,7 @@ import java.util.stream.StreamSupport;
* to the underlying array data structure for reading, with the trust that they will
* not modify the underlying array.
* <p>
- * <a name="same"></a>A listener list handles the <i>same</i> listener being added
+ * A listener list handles the <i>same</i> listener being added
* multiple times, and tolerates removal of listeners that are the same as other
* listeners in the list. For this purpose, listeners can be compared with each other
* using either equality or identity, as specified in the list constructor.
@@ -37,7 +37,7 @@ import java.util.stream.StreamSupport;
* <code>FooListener#eventHappened(Event)</code>, is:
* </p>
* <pre>
-ListenerList&lt;FooListener&gt; fooListeners = new ListenerList<>();
+ListenerList&lt;FooListener&gt; fooListeners = new ListenerList&lt;&gt;();
//...
for (FooListener listener : fooListeners) {
listener.eventHappened(event);

Back to the top