Skip to content

Commit

Permalink
Javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
garydgregory committed Dec 14, 2023
1 parent 908a79d commit fe2a01b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -956,7 +956,7 @@ public V setValue(final V value) {
* A soft reference holder.
*/
static class SoftRef<T> extends SoftReference<T> {
/** 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<? super T> q) {
Expand Down Expand Up @@ -989,7 +989,7 @@ public boolean equals(final Object obj) {
* A weak reference holder.
*/
static class WeakRef<T> extends WeakReference<T> {
/** 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<? super T> q) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public static class ConstantTimeToLiveExpirationPolicy<K, V>
/** 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;

/**
Expand Down Expand Up @@ -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<Object, Long> 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<K, V> expiringPolicy;

/**
Expand Down

0 comments on commit fe2a01b

Please sign in to comment.