From d78084265eca1b3a1a6a04c2ca9268a748be6191 Mon Sep 17 00:00:00 2001 From: Gary Gregory Date: Sun, 23 Jun 2024 16:25:34 -0400 Subject: [PATCH] Javadoc --- .../commons/collections4/bag/CollectionSortedBag.java | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/main/java/org/apache/commons/collections4/bag/CollectionSortedBag.java b/src/main/java/org/apache/commons/collections4/bag/CollectionSortedBag.java index e0bbcf7fb..b47bec741 100644 --- a/src/main/java/org/apache/commons/collections4/bag/CollectionSortedBag.java +++ b/src/main/java/org/apache/commons/collections4/bag/CollectionSortedBag.java @@ -135,13 +135,11 @@ public final class CollectionSortedBag extends AbstractSortedBagDecorator return decorated().retainAll(null); } - // Bag interface - /** - * 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();