From 32f2d4a832b7aac92e470991dddafff6608f0179 Mon Sep 17 00:00:00 2001 From: dota17 <50514813+dota17@users.noreply.github.com> Date: Thu, 17 Oct 2019 20:40:55 +0800 Subject: [PATCH] find and fix fixtypo (#88) --- RELEASE-NOTES.txt | 2 +- .../org/apache/commons/collections4/map/AbstractHashedMap.java | 2 +- .../org/apache/commons/collections4/map/AbstractMapTest.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt index 3d49e9300..129d96fcf 100644 --- a/RELEASE-NOTES.txt +++ b/RELEASE-NOTES.txt @@ -51,7 +51,7 @@ o COLLECTIONS-688: Update platform requirement from Java 7 to 8. o COLLECTIONS-689: Link to Javadoc API broken. Thanks to Richard Walker. o COLLECTIONS-692: Replace use of deprecated Class#newInstance() PR #49. Thanks to Gary Gregory, Eitan Adler. -Please NOTE: Clirr errors reported for this release are false positive, this is prooved by Japicmp report +Please NOTE: Clirr errors reported for this release are false positive, this is proved by Japicmp report And manual testing. For complete information on Apache Commons Collections, including instructions on how to submit bug reports, diff --git a/src/main/java/org/apache/commons/collections4/map/AbstractHashedMap.java b/src/main/java/org/apache/commons/collections4/map/AbstractHashedMap.java index 0e4b1565c..8efb96b4a 100644 --- a/src/main/java/org/apache/commons/collections4/map/AbstractHashedMap.java +++ b/src/main/java/org/apache/commons/collections4/map/AbstractHashedMap.java @@ -1235,7 +1235,7 @@ public class AbstractHashedMap extends AbstractMap implements Iterab * what must be serialized here, if anything. * * @param out the output stream - * @throws IOException if an error occurs while writing tothe stream + * @throws IOException if an error occurs while writing to the stream */ protected void doWriteObject(final ObjectOutputStream out) throws IOException { out.writeFloat(loadFactor); diff --git a/src/test/java/org/apache/commons/collections4/map/AbstractMapTest.java b/src/test/java/org/apache/commons/collections4/map/AbstractMapTest.java index dd2a3b686..5724bd32d 100644 --- a/src/test/java/org/apache/commons/collections4/map/AbstractMapTest.java +++ b/src/test/java/org/apache/commons/collections4/map/AbstractMapTest.java @@ -463,7 +463,7 @@ public abstract class AbstractMapTest extends AbstractObjectTest { } /** - * Gets the compatability version, needed for package access. + * Gets the compatibility version, needed for package access. */ @Override public String getCompatibilityVersion() {