Match param and Javadoc
This commit is contained in:
parent
99f9847f01
commit
8044ecb310
|
@ -2224,12 +2224,12 @@ public class TreeBidiMap<K extends Comparable<K>, V extends Comparable<V>>
|
|||
* @param out the target ObjectOutputStream.
|
||||
* @throws IOException thrown when an I/O errors occur writing to the target stream.
|
||||
*/
|
||||
private void writeObject(final ObjectOutputStream stream) throws IOException {
|
||||
stream.defaultWriteObject();
|
||||
stream.writeInt(this.size());
|
||||
private void writeObject(final ObjectOutputStream out) throws IOException {
|
||||
out.defaultWriteObject();
|
||||
out.writeInt(this.size());
|
||||
for (final Entry<K, V> entry : entrySet()) {
|
||||
stream.writeObject(entry.getKey());
|
||||
stream.writeObject(entry.getValue());
|
||||
out.writeObject(entry.getKey());
|
||||
out.writeObject(entry.getValue());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue