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-compress.git
The following commit(s) were added to refs/heads/master by this push: new da77c2a26 Javadoc da77c2a26 is described below commit da77c2a26a55c96292ad6d816b5f474213312e16 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Sat May 18 10:32:37 2024 -0400 Javadoc --- .../compress/harmony/unpack200/SegmentConstantPoolArrayCache.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/org/apache/commons/compress/harmony/unpack200/SegmentConstantPoolArrayCache.java b/src/main/java/org/apache/commons/compress/harmony/unpack200/SegmentConstantPoolArrayCache.java index c3b958a66..53a8af52c 100644 --- a/src/main/java/org/apache/commons/compress/harmony/unpack200/SegmentConstantPoolArrayCache.java +++ b/src/main/java/org/apache/commons/compress/harmony/unpack200/SegmentConstantPoolArrayCache.java @@ -33,7 +33,7 @@ import java.util.List; public class SegmentConstantPoolArrayCache { /** - * CachedArray keeps track of the last known size of an array as well as a HashMap that knows the mapping from element values to the indices of the array + * Keeps track of the last known size of an array as well as a HashMap that knows the mapping from element values to the indices of the array * which contain that value. */ protected class CachedArray { @@ -89,7 +89,7 @@ public class SegmentConstantPoolArrayCache { protected String lastKey; /** - * Given a String array, answer true if the array is correctly cached. Answer false if the array is not cached, or if the array cache is outdated. + * Tests whether a String array is correctly cached. Return false if the array is not cached, or if the array cache is outdated. * * @param array of String * @return boolean true if up-to-date cache, otherwise false. @@ -100,7 +100,7 @@ public class SegmentConstantPoolArrayCache { } /** - * Cache the array passed in as the argument + * Caches the array passed in as the argument * * @param array String[] to cache */ @@ -114,7 +114,7 @@ public class SegmentConstantPoolArrayCache { } /** - * Answer the indices for the given key in the given array. If no such key exists in the cached array, answer -1. + * Gets the indices for the given key in the given array. If no such key exists in the cached array, answer -1. * * @param array String[] array to search for the value * @param key String value for which to search