diff --git a/src/main/java/org/apache/commons/collections4/bag/UnmodifiableSortedBag.java b/src/main/java/org/apache/commons/collections4/bag/UnmodifiableSortedBag.java index 9d7008256..0c94761b4 100644 --- a/src/main/java/org/apache/commons/collections4/bag/UnmodifiableSortedBag.java +++ b/src/main/java/org/apache/commons/collections4/bag/UnmodifiableSortedBag.java @@ -149,10 +149,10 @@ public final class UnmodifiableSortedBag } /** - * Write the collection 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();