This commit is contained in:
Gary Gregory 2024-06-23 16:26:08 -04:00
parent 3ac74343e0
commit 9590601610
1 changed files with 3 additions and 3 deletions

View File

@ -130,10 +130,10 @@ public class TreeBag<E> extends AbstractMapBag<E> implements SortedBag<E>, Seria
}
/**
* Write the bag 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();