diff --git a/src/main/java/org/apache/commons/collections4/map/AbstractReferenceMap.java b/src/main/java/org/apache/commons/collections4/map/AbstractReferenceMap.java index fc4dbad106..2d6f278382 100644 --- a/src/main/java/org/apache/commons/collections4/map/AbstractReferenceMap.java +++ b/src/main/java/org/apache/commons/collections4/map/AbstractReferenceMap.java @@ -956,7 +956,7 @@ public V setValue(final V value) { * A soft reference holder. */ static class SoftRef extends SoftReference { - /** the hashCode of the key (even if the reference points to a value) */ + /** The hashCode of the key (even if the reference points to a value) */ private final int hash; SoftRef(final int hash, final T r, final ReferenceQueue q) { @@ -989,7 +989,7 @@ public boolean equals(final Object obj) { * A weak reference holder. */ static class WeakRef extends WeakReference { - /** the hashCode of the key (even if the reference points to a value) */ + /** The hashCode of the key (even if the reference points to a value) */ private final int hash; WeakRef(final int hash, final T r, final ReferenceQueue q) { diff --git a/src/main/java/org/apache/commons/collections4/map/PassiveExpiringMap.java b/src/main/java/org/apache/commons/collections4/map/PassiveExpiringMap.java index 53fa4ab4e2..7bf16736c5 100644 --- a/src/main/java/org/apache/commons/collections4/map/PassiveExpiringMap.java +++ b/src/main/java/org/apache/commons/collections4/map/PassiveExpiringMap.java @@ -79,7 +79,7 @@ public static class ConstantTimeToLiveExpirationPolicy /** Serialization version */ private static final long serialVersionUID = 1L; - /** the constant time-to-live value measured in milliseconds. */ + /** The constant time-to-live value measured in milliseconds. */ private final long timeToLiveMillis; /** @@ -198,7 +198,7 @@ private static long validateAndConvertToMillis(final long timeToLive, /** map used to manage expiration times for the actual map entries. */ private final Map expirationMap = new HashMap<>(); - /** the policy used to determine time-to-live values for map entries. */ + /** The policy used to determine time-to-live values for map entries. */ private final ExpirationPolicy expiringPolicy; /**