diff --git a/src/main/java/org/apache/commons/collections4/map/ReferenceMap.java b/src/main/java/org/apache/commons/collections4/map/ReferenceMap.java index 7c5a12482..5f98bb6d6 100644 --- a/src/main/java/org/apache/commons/collections4/map/ReferenceMap.java +++ b/src/main/java/org/apache/commons/collections4/map/ReferenceMap.java @@ -186,10 +186,10 @@ public class ReferenceMap extends AbstractReferenceMap implements Se } /** - * Write the map out using a custom routine. + * Serializes this object to an ObjectOutputStream. * - * @param out the output stream - * @throws IOException if an error occurs while writing to the stream + * @param out the target ObjectOutputStream. + * @throws IOException thrown when an I/O errors occur writing to the target stream. */ private void writeObject(final ObjectOutputStream out) throws IOException { out.defaultWriteObject();