From 8a9e5e52990db7524c759f449bdd6af56e02611c Mon Sep 17 00:00:00 2001 From: Gary Gregory Date: Sun, 20 Oct 2024 17:30:40 -0400 Subject: [PATCH] Javadoc: Match since tags to past releases and the next one --- .../commons/collections4/CollectionUtils.java | 16 ++++----- .../collections4/EnumerationUtils.java | 2 +- .../commons/collections4/ListUtils.java | 4 +-- .../apache/commons/collections4/MapUtils.java | 34 +++++++++---------- .../bloomfilter/ArrayCountingBloomFilter.java | 2 +- .../bloomfilter/BitMapExtractor.java | 2 +- .../collections4/bloomfilter/BitMaps.java | 2 +- .../collections4/bloomfilter/BloomFilter.java | 2 +- .../bloomfilter/BloomFilterExtractor.java | 2 +- .../bloomfilter/CellExtractor.java | 2 +- .../bloomfilter/CountingBloomFilter.java | 2 +- .../bloomfilter/EnhancedDoubleHasher.java | 2 +- .../collections4/bloomfilter/Hasher.java | 2 +- .../bloomfilter/IndexExtractor.java | 2 +- .../collections4/bloomfilter/IndexFilter.java | 2 +- .../bloomfilter/LayerManager.java | 2 +- .../bloomfilter/LayeredBloomFilter.java | 2 +- .../bloomfilter/LongBiPredicate.java | 2 +- .../bloomfilter/SetOperations.java | 2 +- .../collections4/bloomfilter/Shape.java | 2 +- .../bloomfilter/SimpleBloomFilter.java | 2 +- .../bloomfilter/SparseBloomFilter.java | 2 +- .../bloomfilter/WrappedBloomFilter.java | 2 +- .../bloomfilter/package-info.java | 2 +- .../functors/AbstractPredicate.java | 2 +- .../iterators/CartesianProductIterator.java | 2 +- .../properties/AbstractPropertiesFactory.java | 4 +-- .../properties/OrderedProperties.java | 2 +- .../properties/OrderedPropertiesFactory.java | 2 +- .../properties/PropertiesFactory.java | 2 +- .../set/UnmodifiableNavigableSet.java | 4 +-- 31 files changed, 57 insertions(+), 57 deletions(-) diff --git a/src/main/java/org/apache/commons/collections4/CollectionUtils.java b/src/main/java/org/apache/commons/collections4/CollectionUtils.java index 49d7cf38a0..1d13ec1160 100644 --- a/src/main/java/org/apache/commons/collections4/CollectionUtils.java +++ b/src/main/java/org/apache/commons/collections4/CollectionUtils.java @@ -222,35 +222,35 @@ public void setCardinality(final O obj, final int count) { /** * The index value when an element is not found in a collection or array: {@code -1}. * - * @since 4.5.0 + * @since 4.5.0-M1 */ public static final int INDEX_NOT_FOUND = -1; /** * Default prefix used while converting an Iterator to its String representation. * - * @since 4.5.0 + * @since 4.5.0-M1 */ public static final String DEFAULT_TOSTRING_PREFIX = "["; /** * Default suffix used while converting an Iterator to its String representation. * - * @since 4.5.0 + * @since 4.5.0-M1 */ public static final String DEFAULT_TOSTRING_SUFFIX = "]"; /** * A String for Colon (":"). * - * @since 4.5.0 + * @since 4.5.0-M1 */ public static final String COLON = ":"; /** * A String for Comma (","). * - * @since 4.5.0 + * @since 4.5.0-M1 */ public static final String COMMA = ","; @@ -1130,7 +1130,7 @@ public static Map getCardinalityMap(final Iterable * @param equator the equator used for generate hashCode * @return the hash code of the input collection using the hash method of an equator * @throws NullPointerException if the equator is {@code null} - * @since 4.5.0 + * @since 4.5.0-M1 */ public static int hashCode(final Collection collection, final Equator equator) { @@ -1536,7 +1536,7 @@ public static Collection removeAll(final Iterable collection, * @param count the specified number to remove, can't be less than 1 * @return collection of elements that removed from the input collection * @throws NullPointerException if input is null - * @since 4.5.0 + * @since 4.5.0-M1 */ public static Collection removeCount(final Collection input, int startIndex, int count) { Objects.requireNonNull(input, "input"); @@ -1577,7 +1577,7 @@ public static Collection removeCount(final Collection input, int start * @param endIndex the end index (exclusive) to remove, must not be less than startIndex * @return collection of elements that removed from the input collection * @throws NullPointerException if input is null - * @since 4.5.0 + * @since 4.5.0-M1 */ public static Collection removeRange(final Collection input, final int startIndex, final int endIndex) { Objects.requireNonNull(input, "input"); diff --git a/src/main/java/org/apache/commons/collections4/EnumerationUtils.java b/src/main/java/org/apache/commons/collections4/EnumerationUtils.java index b6d27a36dd..ca872776f8 100644 --- a/src/main/java/org/apache/commons/collections4/EnumerationUtils.java +++ b/src/main/java/org/apache/commons/collections4/EnumerationUtils.java @@ -38,7 +38,7 @@ public class EnumerationUtils { * @param the element type * @param enumeration the enumeration to use, may not be null * @return a new, single use {@link Iterable} - * @since 4.5.0 + * @since 4.5.0-M1 */ public static Iterable asIterable(final Enumeration enumeration) { return new IteratorIterable<>(new EnumerationIterator<>(enumeration)); diff --git a/src/main/java/org/apache/commons/collections4/ListUtils.java b/src/main/java/org/apache/commons/collections4/ListUtils.java index 0aeb413053..9e98cb18a5 100644 --- a/src/main/java/org/apache/commons/collections4/ListUtils.java +++ b/src/main/java/org/apache/commons/collections4/ListUtils.java @@ -184,7 +184,7 @@ public static List fixedSizeList(final List list) { * @param list The list. * @return the first element of a list. * @see List#get(int) - * @since 4.5.0 + * @since 4.5.0-M1 */ public static T getFirst(final List list) { return Objects.requireNonNull(list, "list").get(0); @@ -200,7 +200,7 @@ public static T getFirst(final List list) { * @param list The list. * @return the last element of a list. * @see List#get(int) - * @since 4.5.0 + * @since 4.5.0-M1 */ public static T getLast(final List list) { return Objects.requireNonNull(list, "list").get(list.size() - 1); diff --git a/src/main/java/org/apache/commons/collections4/MapUtils.java b/src/main/java/org/apache/commons/collections4/MapUtils.java index e05ec36ee2..7fbf4a9191 100644 --- a/src/main/java/org/apache/commons/collections4/MapUtils.java +++ b/src/main/java/org/apache/commons/collections4/MapUtils.java @@ -267,7 +267,7 @@ public static Boolean getBoolean(final Map map, final K key, f * @param defaultFunction what to produce the default value if the value is null or if the conversion fails * @return the value in the map as a boolean, or defaultValue produced by the defaultFunction if the original value * is null, the map is null or the boolean conversion fails - * @since 4.5.0 + * @since 4.5.0-M1 */ public static Boolean getBoolean(final Map map, final K key, final Function defaultFunction) { @@ -327,7 +327,7 @@ public static boolean getBooleanValue(final Map map, final K k * @param defaultFunction produce the default value to return if the value is null or if the conversion fails * @return the value in the Map as a Boolean, default value produced by the {@code defaultFunction} if null map * input - * @since 4.5.0 + * @since 4.5.0-M1 */ public static boolean getBooleanValue(final Map map, final K key, final Function defaultFunction) { @@ -381,7 +381,7 @@ public static Byte getByte(final Map map, final K key, final B * @param defaultFunction what to produce the default value if the value is null or if the conversion fails * @return the value in the map as a number, or defaultValue produced by the defaultFunction if the original value * is null, the map is null or the number conversion fails - * @since 4.5.0 + * @since 4.5.0-M1 */ public static Byte getByte(final Map map, final K key, final Function defaultFunction) { return applyDefaultFunction(map, key, MapUtils::getByte, defaultFunction); @@ -431,7 +431,7 @@ public static byte getByteValue(final Map map, final K key, fi * @param defaultFunction produce the default value to return if the value is null or if the conversion fails * @return the value in the Map as a byte, default value produced by the {@code defaultFunction} if null map * input - * @since 4.5.0 + * @since 4.5.0-M1 */ public static byte getByteValue(final Map map, final K key, final Function defaultFunction) { @@ -485,7 +485,7 @@ public static Double getDouble(final Map map, final K key, fin * @param defaultFunction what to produce the default value if the value is null or if the conversion fails * @return the value in the map as a number, or defaultValue produced by the defaultFunction if the original value * is null, the map is null or the number conversion fails - * @since 4.5.0 + * @since 4.5.0-M1 */ public static Double getDouble(final Map map, final K key, final Function defaultFunction) { @@ -536,7 +536,7 @@ public static double getDoubleValue(final Map map, final K key * @param defaultFunction produce the default value to return if the value is null or if the conversion fails * @return the value in the Map as a double, default value produced by the {@code defaultFunction} if null map * input - * @since 4.5.0 + * @since 4.5.0-M1 */ public static double getDoubleValue(final Map map, final K key, final Function defaultFunction) { @@ -590,7 +590,7 @@ public static Float getFloat(final Map map, final K key, final * @param defaultFunction what to produce the default value if the value is null or if the conversion fails * @return the value in the map as a number, or defaultValue produced by the defaultFunction if the original value * is null, the map is null or the number conversion fails - * @since 4.5.0 + * @since 4.5.0-M1 */ public static Float getFloat(final Map map, final K key, final Function defaultFunction) { @@ -641,7 +641,7 @@ public static float getFloatValue(final Map map, final K key, * @param defaultFunction produce the default value to return if the value is null or if the conversion fails * @return the value in the Map as a float, default value produced by the {@code defaultFunction} if null map * input - * @since 4.5.0 + * @since 4.5.0-M1 */ public static float getFloatValue(final Map map, final K key, final Function defaultFunction) { @@ -680,7 +680,7 @@ public static Integer getInteger(final Map map, final K key) { * @param defaultFunction what to produce the default value if the value is null or if the conversion fails * @return the value in the map as a number, or defaultValue produced by the defaultFunction if the original value * is null, the map is null or the number conversion fails - * @since 4.5.0 + * @since 4.5.0-M1 */ public static Integer getInteger(final Map map, final K key, final Function defaultFunction) { @@ -730,7 +730,7 @@ public static int getIntValue(final Map map, final K key) { * @param defaultFunction produce the default value to return if the value is null or if the conversion fails * @return the value in the Map as an int, default value produced by the {@code defaultFunction} if null map * input - * @since 4.5.0 + * @since 4.5.0-M1 */ public static int getIntValue(final Map map, final K key, final Function defaultFunction) { @@ -785,7 +785,7 @@ public static Long getLong(final Map map, final K key) { * @param defaultFunction what to produce the default value if the value is null or if the conversion fails * @return the value in the map as a number, or defaultValue produced by the defaultFunction if the original value * is null, the map is null or the number conversion fails - * @since 4.5.0 + * @since 4.5.0-M1 */ public static Long getLong(final Map map, final K key, final Function defaultFunction) { return applyDefaultFunction(map, key, MapUtils::getLong, defaultFunction); @@ -834,7 +834,7 @@ public static long getLongValue(final Map map, final K key) { * @param defaultFunction produce the default value to return if the value is null or if the conversion fails * @return the value in the Map as a long, default value produced by the {@code defaultFunction} if null map * input - * @since 4.5.0 + * @since 4.5.0-M1 */ public static long getLongValue(final Map map, final K key, final Function defaultFunction) { @@ -888,7 +888,7 @@ public static long getLongValue(final Map map, final K key, fi * @param defaultFunction what to produce the default value if the value is null or if the conversion fails * @return the value in the map as a number, or defaultValue produced by the defaultFunction if the original value * is null, the map is null or the map conversion fails - * @since 4.5.0 + * @since 4.5.0-M1 */ public static Map getMap(final Map map, final K key, final Function> defaultFunction) { @@ -953,7 +953,7 @@ public static Number getNumber(final Map map, final K key) { * @param defaultFunction what to produce the default value if the value is null or if the conversion fails * @return the value in the map as a number, or defaultValue produced by the defaultFunction if the original value * is null, the map is null or the number conversion fails - * @since 4.5.0 + * @since 4.5.0-M1 */ public static Number getNumber(final Map map, final K key, final Function defaultFunction) { @@ -1043,7 +1043,7 @@ public static Short getShort(final Map map, final K key) { * @param defaultFunction what to produce the default value if the value is null or if the conversion fails * @return the value in the map as a number, or defaultValue produced by the defaultFunction if the original value * is null, the map is null or the number conversion fails - * @since 4.5.0 + * @since 4.5.0-M1 */ public static Short getShort(final Map map, final K key, final Function defaultFunction) { @@ -1093,7 +1093,7 @@ public static short getShortValue(final Map map, final K key) * @param defaultFunction produce the default value to return if the value is null or if the conversion fails * @return the value in the Map as a short, default value produced by the {@code defaultFunction} if null map * input - * @since 4.5.0 + * @since 4.5.0-M1 */ public static short getShortValue(final Map map, final K key, final Function defaultFunction) { @@ -1147,7 +1147,7 @@ public static String getString(final Map map, final K key) { * @param defaultFunction what to produce the default value if the value is null or if the conversion fails * @return the value in the map as a string, or defaultValue produced by the defaultFunction if the original value * is null, the map is null or the string conversion fails - * @since 4.5.0 + * @since 4.5.0-M1 */ public static String getString(final Map map, final K key, final Function defaultFunction) { diff --git a/src/main/java/org/apache/commons/collections4/bloomfilter/ArrayCountingBloomFilter.java b/src/main/java/org/apache/commons/collections4/bloomfilter/ArrayCountingBloomFilter.java index 5f4874a316..6ff4782a10 100644 --- a/src/main/java/org/apache/commons/collections4/bloomfilter/ArrayCountingBloomFilter.java +++ b/src/main/java/org/apache/commons/collections4/bloomfilter/ArrayCountingBloomFilter.java @@ -45,7 +45,7 @@ * * @see Shape * @see CellExtractor - * @since 4.5.0 + * @since 4.5.0-M1 */ public final class ArrayCountingBloomFilter implements CountingBloomFilter { diff --git a/src/main/java/org/apache/commons/collections4/bloomfilter/BitMapExtractor.java b/src/main/java/org/apache/commons/collections4/bloomfilter/BitMapExtractor.java index fb24f3b471..5c154268bd 100644 --- a/src/main/java/org/apache/commons/collections4/bloomfilter/BitMapExtractor.java +++ b/src/main/java/org/apache/commons/collections4/bloomfilter/BitMapExtractor.java @@ -34,7 +34,7 @@ * classes where possible. *

* - * @since 4.5.0 + * @since 4.5.0-M2 */ @FunctionalInterface public interface BitMapExtractor { diff --git a/src/main/java/org/apache/commons/collections4/bloomfilter/BitMaps.java b/src/main/java/org/apache/commons/collections4/bloomfilter/BitMaps.java index 4c67662926..f809953a01 100644 --- a/src/main/java/org/apache/commons/collections4/bloomfilter/BitMaps.java +++ b/src/main/java/org/apache/commons/collections4/bloomfilter/BitMaps.java @@ -22,7 +22,7 @@ *

The functions view an array of longs as a collection of bit maps each containing 64 bits. The bits are arranged * in memory as a little-endian long value. This matches the requirements of the BitMapExtractor interface.

* - * @since 4.5.0 + * @since 4.5.0-M2 */ public class BitMaps { diff --git a/src/main/java/org/apache/commons/collections4/bloomfilter/BloomFilter.java b/src/main/java/org/apache/commons/collections4/bloomfilter/BloomFilter.java index fb884a5c4f..27e6501108 100644 --- a/src/main/java/org/apache/commons/collections4/bloomfilter/BloomFilter.java +++ b/src/main/java/org/apache/commons/collections4/bloomfilter/BloomFilter.java @@ -27,7 +27,7 @@ * @param The BloomFilter type. * @see BitMapExtractor * @see IndexExtractor - * @since 4.5.0 + * @since 4.5.0-M1 */ public interface BloomFilter> extends IndexExtractor, BitMapExtractor { diff --git a/src/main/java/org/apache/commons/collections4/bloomfilter/BloomFilterExtractor.java b/src/main/java/org/apache/commons/collections4/bloomfilter/BloomFilterExtractor.java index ce62bbe8c7..68d78f015a 100644 --- a/src/main/java/org/apache/commons/collections4/bloomfilter/BloomFilterExtractor.java +++ b/src/main/java/org/apache/commons/collections4/bloomfilter/BloomFilterExtractor.java @@ -26,7 +26,7 @@ /** * Produces Bloom filters from a collection (for example, {@link LayeredBloomFilter}). * - * @since 4.5.0 + * @since 4.5.0-M2 */ @FunctionalInterface public interface BloomFilterExtractor { diff --git a/src/main/java/org/apache/commons/collections4/bloomfilter/CellExtractor.java b/src/main/java/org/apache/commons/collections4/bloomfilter/CellExtractor.java index c37598975f..0b4a56b4de 100644 --- a/src/main/java/org/apache/commons/collections4/bloomfilter/CellExtractor.java +++ b/src/main/java/org/apache/commons/collections4/bloomfilter/CellExtractor.java @@ -38,7 +38,7 @@ *
  • The IndexExtractor will not generate indices that have a zero count for the cell.
  • * * - * @since 4.5.0 + * @since 4.5.0-M2 */ @FunctionalInterface public interface CellExtractor extends IndexExtractor { diff --git a/src/main/java/org/apache/commons/collections4/bloomfilter/CountingBloomFilter.java b/src/main/java/org/apache/commons/collections4/bloomfilter/CountingBloomFilter.java index 15f456e749..56048a8f70 100644 --- a/src/main/java/org/apache/commons/collections4/bloomfilter/CountingBloomFilter.java +++ b/src/main/java/org/apache/commons/collections4/bloomfilter/CountingBloomFilter.java @@ -52,7 +52,7 @@ * partially updated or updated entirely before the exception is raised.

    * * @see CellExtractor - * @since 4.5.0 + * @since 4.5.0-M1 */ public interface CountingBloomFilter extends BloomFilter, CellExtractor { diff --git a/src/main/java/org/apache/commons/collections4/bloomfilter/EnhancedDoubleHasher.java b/src/main/java/org/apache/commons/collections4/bloomfilter/EnhancedDoubleHasher.java index 82382b9f11..3f12e4762d 100644 --- a/src/main/java/org/apache/commons/collections4/bloomfilter/EnhancedDoubleHasher.java +++ b/src/main/java/org/apache/commons/collections4/bloomfilter/EnhancedDoubleHasher.java @@ -42,7 +42,7 @@ * than the number of bits then the modulus will create a 'random' position and increment within the size. *

    * - * @since 4.5.0 + * @since 4.5.0-M1 */ public class EnhancedDoubleHasher implements Hasher { diff --git a/src/main/java/org/apache/commons/collections4/bloomfilter/Hasher.java b/src/main/java/org/apache/commons/collections4/bloomfilter/Hasher.java index 8bfb952a81..583da2a760 100644 --- a/src/main/java/org/apache/commons/collections4/bloomfilter/Hasher.java +++ b/src/main/java/org/apache/commons/collections4/bloomfilter/Hasher.java @@ -19,7 +19,7 @@ /** * A Hasher creates {@link IndexExtractor}s based on the hash implementation and the provided {@link Shape}. * - * @since 4.5.0 + * @since 4.5.0-M1 */ public interface Hasher { diff --git a/src/main/java/org/apache/commons/collections4/bloomfilter/IndexExtractor.java b/src/main/java/org/apache/commons/collections4/bloomfilter/IndexExtractor.java index 75a1ef6500..eab2656780 100644 --- a/src/main/java/org/apache/commons/collections4/bloomfilter/IndexExtractor.java +++ b/src/main/java/org/apache/commons/collections4/bloomfilter/IndexExtractor.java @@ -28,7 +28,7 @@ * The default implementation of {@code asIndexArray} is slow. Implementers should reimplement the * method where possible.

    * - * @since 4.5.0 + * @since 4.5.0-M2 */ @FunctionalInterface public interface IndexExtractor { diff --git a/src/main/java/org/apache/commons/collections4/bloomfilter/IndexFilter.java b/src/main/java/org/apache/commons/collections4/bloomfilter/IndexFilter.java index 26f43cc771..2416a5b774 100644 --- a/src/main/java/org/apache/commons/collections4/bloomfilter/IndexFilter.java +++ b/src/main/java/org/apache/commons/collections4/bloomfilter/IndexFilter.java @@ -25,7 +25,7 @@ * *

    This is conceptually a unique filter implemented as an {@link IntPredicate}.

    * - * @since 4.5.0 + * @since 4.5.0-M1 */ public final class IndexFilter { diff --git a/src/main/java/org/apache/commons/collections4/bloomfilter/LayerManager.java b/src/main/java/org/apache/commons/collections4/bloomfilter/LayerManager.java index 64f71e071d..f68cddc9e3 100644 --- a/src/main/java/org/apache/commons/collections4/bloomfilter/LayerManager.java +++ b/src/main/java/org/apache/commons/collections4/bloomfilter/LayerManager.java @@ -51,7 +51,7 @@ * * * @param the {@link BloomFilter} type. - * @since 4.5.0 + * @since 4.5.0-M1 */ public class LayerManager> implements BloomFilterExtractor { diff --git a/src/main/java/org/apache/commons/collections4/bloomfilter/LayeredBloomFilter.java b/src/main/java/org/apache/commons/collections4/bloomfilter/LayeredBloomFilter.java index 621893e371..0f04e80cf9 100644 --- a/src/main/java/org/apache/commons/collections4/bloomfilter/LayeredBloomFilter.java +++ b/src/main/java/org/apache/commons/collections4/bloomfilter/LayeredBloomFilter.java @@ -51,7 +51,7 @@ * * * @param The type of Bloom Filter that is used for the layers. - * @since 4.5.0 + * @since 4.5.0-M2 */ public class LayeredBloomFilter> implements BloomFilter>, BloomFilterExtractor { diff --git a/src/main/java/org/apache/commons/collections4/bloomfilter/LongBiPredicate.java b/src/main/java/org/apache/commons/collections4/bloomfilter/LongBiPredicate.java index a5a1a67a4f..7df82bfb13 100644 --- a/src/main/java/org/apache/commons/collections4/bloomfilter/LongBiPredicate.java +++ b/src/main/java/org/apache/commons/collections4/bloomfilter/LongBiPredicate.java @@ -23,7 +23,7 @@ * This is a functional interface whose functional method is {@code test(long,long)}. *

    * - * @since 4.5.0 + * @since 4.5.0-M1 */ @FunctionalInterface public interface LongBiPredicate { diff --git a/src/main/java/org/apache/commons/collections4/bloomfilter/SetOperations.java b/src/main/java/org/apache/commons/collections4/bloomfilter/SetOperations.java index bef33eb43f..a06ef01bda 100644 --- a/src/main/java/org/apache/commons/collections4/bloomfilter/SetOperations.java +++ b/src/main/java/org/apache/commons/collections4/bloomfilter/SetOperations.java @@ -21,7 +21,7 @@ /** * Implementations of set operations on BitMapExtractors. * - * @since 4.5.0 + * @since 4.5.0-M1 */ public final class SetOperations { diff --git a/src/main/java/org/apache/commons/collections4/bloomfilter/Shape.java b/src/main/java/org/apache/commons/collections4/bloomfilter/Shape.java index 673767eebc..51f3f8d897 100644 --- a/src/main/java/org/apache/commons/collections4/bloomfilter/Shape.java +++ b/src/main/java/org/apache/commons/collections4/bloomfilter/Shape.java @@ -81,7 +81,7 @@ * @see Bloom Filter calculator * @see Bloom filter * [Wikipedia] - * @since 4.5.0 + * @since 4.5.0-M1 */ public final class Shape { diff --git a/src/main/java/org/apache/commons/collections4/bloomfilter/SimpleBloomFilter.java b/src/main/java/org/apache/commons/collections4/bloomfilter/SimpleBloomFilter.java index 32fe7c5bd8..9b81ce3d57 100644 --- a/src/main/java/org/apache/commons/collections4/bloomfilter/SimpleBloomFilter.java +++ b/src/main/java/org/apache/commons/collections4/bloomfilter/SimpleBloomFilter.java @@ -24,7 +24,7 @@ /** * A bloom filter using an array of bit maps to track enabled bits. This is a standard implementation and should work well for most Bloom filters. * - * @since 4.5.0 + * @since 4.5.0-M1 */ public final class SimpleBloomFilter implements BloomFilter { diff --git a/src/main/java/org/apache/commons/collections4/bloomfilter/SparseBloomFilter.java b/src/main/java/org/apache/commons/collections4/bloomfilter/SparseBloomFilter.java index 731770486f..1aca8f7ac5 100644 --- a/src/main/java/org/apache/commons/collections4/bloomfilter/SparseBloomFilter.java +++ b/src/main/java/org/apache/commons/collections4/bloomfilter/SparseBloomFilter.java @@ -25,7 +25,7 @@ * A bloom filter using a TreeSet of integers to track enabled bits. This is a standard * implementation and should work well for most low cardinality Bloom filters. * - * @since 4.5.0 + * @since 4.5.0-M1 */ public final class SparseBloomFilter implements BloomFilter { diff --git a/src/main/java/org/apache/commons/collections4/bloomfilter/WrappedBloomFilter.java b/src/main/java/org/apache/commons/collections4/bloomfilter/WrappedBloomFilter.java index af33365db2..84dd88ba95 100644 --- a/src/main/java/org/apache/commons/collections4/bloomfilter/WrappedBloomFilter.java +++ b/src/main/java/org/apache/commons/collections4/bloomfilter/WrappedBloomFilter.java @@ -24,7 +24,7 @@ * * @param The WrappedBloomFilter type. * @param The wrapped BloomFilter type. - * @since 4.5.0 + * @since 4.5.0-M1 */ public abstract class WrappedBloomFilter, W extends BloomFilter> implements BloomFilter { diff --git a/src/main/java/org/apache/commons/collections4/bloomfilter/package-info.java b/src/main/java/org/apache/commons/collections4/bloomfilter/package-info.java index e75ae095d7..2abf993bfe 100644 --- a/src/main/java/org/apache/commons/collections4/bloomfilter/package-info.java +++ b/src/main/java/org/apache/commons/collections4/bloomfilter/package-info.java @@ -149,6 +149,6 @@ *
  • Apache Cassandra's BloomFilter.
  • * * - * @since 4.5.0 + * @since 4.5.0-M1 */ package org.apache.commons.collections4.bloomfilter; diff --git a/src/main/java/org/apache/commons/collections4/functors/AbstractPredicate.java b/src/main/java/org/apache/commons/collections4/functors/AbstractPredicate.java index 572ef16f52..125260300f 100644 --- a/src/main/java/org/apache/commons/collections4/functors/AbstractPredicate.java +++ b/src/main/java/org/apache/commons/collections4/functors/AbstractPredicate.java @@ -22,7 +22,7 @@ * Abstract base class for predicates. * * @param the type of the input to the predicate. - * @since 4.5.0 + * @since 4.5.0-M3 */ public abstract class AbstractPredicate implements Predicate { diff --git a/src/main/java/org/apache/commons/collections4/iterators/CartesianProductIterator.java b/src/main/java/org/apache/commons/collections4/iterators/CartesianProductIterator.java index a868b0942e..b4d4a3995c 100644 --- a/src/main/java/org/apache/commons/collections4/iterators/CartesianProductIterator.java +++ b/src/main/java/org/apache/commons/collections4/iterators/CartesianProductIterator.java @@ -66,7 +66,7 @@ *

    * * @param the type of the objects being permuted - * @since 4.5.0 + * @since 4.5.0-M3 */ public class CartesianProductIterator implements Iterator> { diff --git a/src/main/java/org/apache/commons/collections4/properties/AbstractPropertiesFactory.java b/src/main/java/org/apache/commons/collections4/properties/AbstractPropertiesFactory.java index fa311fa2ae..1f937733f6 100644 --- a/src/main/java/org/apache/commons/collections4/properties/AbstractPropertiesFactory.java +++ b/src/main/java/org/apache/commons/collections4/properties/AbstractPropertiesFactory.java @@ -43,7 +43,7 @@ public abstract class AbstractPropertiesFactory { /** * Enumerates property formats. * - * @since 4.5.0 + * @since 4.5.0-M1 */ public enum PropertyFormat { @@ -130,7 +130,7 @@ public T load(final InputStream inputStream) throws IOException { * @return a new properties object. * @throws IOException Thrown if an error occurred reading the input stream. * @throws IllegalArgumentException Thrown if the input contains a malformed Unicode escape sequence. - * @since 4.5.0 + * @since 4.5.0-M1 */ public T load(final InputStream inputStream, final PropertyFormat propertyFormat) throws IOException { if (inputStream == null) { diff --git a/src/main/java/org/apache/commons/collections4/properties/OrderedProperties.java b/src/main/java/org/apache/commons/collections4/properties/OrderedProperties.java index c04ab30506..46e7142e8f 100644 --- a/src/main/java/org/apache/commons/collections4/properties/OrderedProperties.java +++ b/src/main/java/org/apache/commons/collections4/properties/OrderedProperties.java @@ -37,7 +37,7 @@ *

    * * @see OrderedPropertiesFactory#INSTANCE - * @since 4.5.0 + * @since 4.5.0-M1 */ public class OrderedProperties extends Properties { diff --git a/src/main/java/org/apache/commons/collections4/properties/OrderedPropertiesFactory.java b/src/main/java/org/apache/commons/collections4/properties/OrderedPropertiesFactory.java index 1d416ca3b5..22644957f5 100644 --- a/src/main/java/org/apache/commons/collections4/properties/OrderedPropertiesFactory.java +++ b/src/main/java/org/apache/commons/collections4/properties/OrderedPropertiesFactory.java @@ -21,7 +21,7 @@ * Creates and loads {@link OrderedProperties}. * * @see OrderedProperties - * @since 4.5.0 + * @since 4.5.0-M1 */ public class OrderedPropertiesFactory extends AbstractPropertiesFactory { diff --git a/src/main/java/org/apache/commons/collections4/properties/PropertiesFactory.java b/src/main/java/org/apache/commons/collections4/properties/PropertiesFactory.java index 97d67fc6c7..8c83408ebc 100644 --- a/src/main/java/org/apache/commons/collections4/properties/PropertiesFactory.java +++ b/src/main/java/org/apache/commons/collections4/properties/PropertiesFactory.java @@ -294,7 +294,7 @@ public Collection values() { /** * The empty map (immutable). This map is serializable. * - * @since 4.5.0 + * @since 4.5.0-M1 */ public static final Properties EMPTY_PROPERTIES = new EmptyProperties(); diff --git a/src/main/java/org/apache/commons/collections4/set/UnmodifiableNavigableSet.java b/src/main/java/org/apache/commons/collections4/set/UnmodifiableNavigableSet.java index db885404af..7c8a21cab9 100644 --- a/src/main/java/org/apache/commons/collections4/set/UnmodifiableNavigableSet.java +++ b/src/main/java/org/apache/commons/collections4/set/UnmodifiableNavigableSet.java @@ -113,7 +113,7 @@ public Iterator iterator() { } /** - * @since 4.5.0 + * @since 4.5.0-M1 */ @Override public E pollFirst() { @@ -121,7 +121,7 @@ public E pollFirst() { } /** - * @since 4.5.0 + * @since 4.5.0-M1 */ @Override public E pollLast() {