This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-collections.git
The following commit(s) were added to refs/heads/master by this push:
new 8044ecb31 Match param and Javadoc
8044ecb31 is described below
commit 8044ecb3104524a6046d5d10361c337bea16d9d8
Author: Gary Gregory <[email protected]>
AuthorDate: Sun Jun 23 17:41:41 2024 -0400
Match param and Javadoc
---
.../org/apache/commons/collections4/bidimap/TreeBidiMap.java | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git
a/src/main/java/org/apache/commons/collections4/bidimap/TreeBidiMap.java
b/src/main/java/org/apache/commons/collections4/bidimap/TreeBidiMap.java
index 2697fa165..13a3c2aa1 100644
--- a/src/main/java/org/apache/commons/collections4/bidimap/TreeBidiMap.java
+++ b/src/main/java/org/apache/commons/collections4/bidimap/TreeBidiMap.java
@@ -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());
}
}