File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
java8/src/main/java/org/jetbrains/annotations Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 2020/**
2121 * An annotation which marks a {@link java.util.Collection} or {@link java.util.Map} type
2222 * as unmodifiable. A collection or a map is unmodifiable if any mutator methods
23- * throw exception or have no effect, and the objects stored as collection elements,
24- * map keys, and map values are never changed.
23+ * (e.g. {@link java.util.Collection#add(Object)}) throw exception or have no effect,
24+ * and the object references stored as collection elements, map keys, and map values
25+ * are never changed. The referenced objects themselves still could be changed if they
26+ * are mutable.
2527 *
2628 * @see UnmodifiableView
2729 * @since 19.0.0
Original file line number Diff line number Diff line change 1919
2020/**
2121 * An annotation which marks a {@link java.util.Collection} or {@link java.util.Map} type
22- * as unmodifiable. A collection or a map is unmodifiable if any mutator methods
22+ * as unmodifiable view . A collection or a map is unmodifiable view if any mutator methods
2323 * (e.g. {@link java.util.Collection#add(Object)}) throw exception or have no effect.
2424 * However, the content of the collection or the map may still be updated by other code.
2525 *
You can’t perform that action at this time.
0 commit comments