Skip to content

Commit fda5b96

Browse files
committed
Javadoc
1 parent 5204efa commit fda5b96

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/org/apache/commons/collections4/map/ConcurrentReferenceHashMap.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -400,9 +400,9 @@ public int size() {
400400
/**
401401
* ConcurrentReferenceHashMap list entry. Note that this is never exported out as a user-visible Map.Entry.
402402
* <p>
403-
* Because the value field is volatile, not final, it is legal wrt the Java Memory Model for an unsynchronized reader to see null instead of initial value
404-
* when read via a data race. Although a reordering leading to this is not likely to ever actually occur, the Segment.readValueUnderLock method is used as a
405-
* backup in case a null (pre-initialized) value is ever seen in an unsynchronized access method.
403+
* Because the value field is volatile, not final, it is legal with respect to the Java Memory Model for an unsynchronized reader to see null instead of
404+
* initial value when read via a data race. Although a reordering leading to this is not likely to ever actually occur, the Segment.readValueUnderLock
405+
* method is used as a backup in case a null (pre-initialized) value is ever seen in an unsynchronized access method.
406406
* </p>
407407
*/
408408
private static final class HashEntry<K, V> {

0 commit comments

Comments
 (0)