This commit is contained in:
Gary Gregory 2024-06-23 16:25:34 -04:00
parent 7b3dab2123
commit d78084265e
1 changed files with 3 additions and 5 deletions

View File

@ -135,13 +135,11 @@ public final class CollectionSortedBag<E> extends AbstractSortedBagDecorator<E>
return decorated().retainAll(null); 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 * @param out the target ObjectOutputStream.
* @throws IOException if an error occurs while writing to the stream * @throws IOException thrown when an I/O errors occur writing to the target stream.
*/ */
private void writeObject(final ObjectOutputStream out) throws IOException { private void writeObject(final ObjectOutputStream out) throws IOException {
out.defaultWriteObject(); out.defaultWriteObject();