Skip to content

Commit 73eb8c3

Browse files
committed
Fix dangling javadoc
1 parent f91b8c1 commit 73eb8c3

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/util/WeakIdentityHashMap.java

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,29 @@
6262
import java.util.function.BiFunction;
6363
import java.util.function.Consumer;
6464

65+
/*
66+
* This file is a copy (sigh) of <code> OpenJDK / jdk8u / jdk8u-dev / jdk
67+
* src/share/classes/java/util/WeakHashMap.java @ 13329:c35f231af17a </code>
68+
* with the following changes:
69+
* <ol>
70+
* <li>Turning off the formatter for the whole file so that comments stay the same.</li>
71+
* <li>Disabling checkstyle for the whole file.</li>
72+
* <li>Changing the copyright date.</li>
73+
* <li>Changing the package name.</li>
74+
* <li>Disabling warnings for the whole class.</li>
75+
* <li>Uniformly changing <code>WeakHashMap</code> to <code>WeakIdentityHashMap</code>
76+
* in the code (but not the JavaDoc! So the diff is easier to read.).</li>
77+
* <li>Updating the <code>import</code> statements.</li>
78+
* <li>Copying in the declarations of {@link #keySet} and {@link #values}
79+
* from {@link AbstractMap}, which are otherwise package-private.</li>
80+
* <li>Changing {@link #hash(Object)} to use {@link System#identityHashCode(Object)}.</li>
81+
* <li>Changing {@link #eq(Object, Object)} to compare objects with reference equality.</li>
82+
* <li>Changing {@link Entry#hashCode()} to use {@link System#identityHashCode(Object)}
83+
* to contribute to the hash code of an {@link Entry}.</li>
84+
* <li>Changing {@link Entry#equals(Object)} to compare keys using reference equality
85+
* (after which the values are compared with {@link Object#equals(Object)}).</li>
86+
* </ol>
87+
*/
6588

6689
/**
6790
* Hash table based implementation of the <tt>Map</tt> interface, with
@@ -163,29 +186,6 @@
163186
* @see java.util.HashMap
164187
* @see java.lang.ref.WeakReference
165188
*/
166-
/**
167-
* This file is a copy (sigh) of <code> OpenJDK / jdk8u / jdk8u-dev / jdk
168-
* src/share/classes/java/util/WeakHashMap.java @ 13329:c35f231af17a </code>
169-
* with the following changes:
170-
* <ol>
171-
* <li>Turning off the formatter for the whole file so that comments stay the same.</li>
172-
* <li>Disabling checkstyle for the whole file.</li>
173-
* <li>Changing the copyright date.</li>
174-
* <li>Changing the package name.</li>
175-
* <li>Disabling warnings for the whole class.</li>
176-
* <li>Uniformly changing <code>WeakHashMap</code> to <code>WeakIdentityHashMap</code>
177-
* in the code (but not the JavaDoc! So the diff is easier to read.).</li>
178-
* <li>Updating the <code>import</code> statements.</li>
179-
* <li>Copying in the declarations of {@link #keySet} and {@link #values}
180-
* from {@link AbstractMap}, which are otherwise package-private.</li>
181-
* <li>Changing {@link #hash(Object)} to use {@link System#identityHashCode(Object)}.</li>
182-
* <li>Changing {@link #eq(Object, Object)} to compare objects with reference equality.</li>
183-
* <li>Changing {@link Entry#hashCode()} to use {@link System#identityHashCode(Object)}
184-
* to contribute to the hash code of an {@link Entry}.</li>
185-
* <li>Changing {@link Entry#equals(Object)} to compare keys using reference equality
186-
* (after which the values are compared with {@link Object#equals(Object)}).</li>
187-
* </ol>
188-
*/
189189
@SuppressWarnings("all")
190190
public class WeakIdentityHashMap<K,V>
191191
extends AbstractMap<K,V>

0 commit comments

Comments
 (0)