Mark AbstractWeakConcurrentMap as package protected, no usage (#2731)

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
This commit is contained in:
Bogdan Drutu 2021-02-05 20:19:28 -08:00 committed by GitHub
parent 2c2f0b9280
commit 7952823322
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 4 deletions

View File

@ -43,13 +43,10 @@ import java.util.concurrent.ConcurrentMap;
*
* <p>This class has been copied as is from
* https://github.com/raphw/weak-lock-free/blob/ad0e5e0c04d4a31f9485bf12b89afbc9d75473b3/src/main/java/com/blogspot/mydailyjava/weaklockfree/WeakConcurrentMap.java
* This is used in multiple artifacts in OpenTelemetry and while it is in our internal API,
* generally backwards compatible changes should not be made to avoid a situation where different
* versions of OpenTelemetry artifacts become incompatible with each other.
*/
// Suppress warnings since this is vendored as-is.
@SuppressWarnings({"MissingSummary", "EqualsBrokenForNull", "FieldMissingNullable"})
public abstract class AbstractWeakConcurrentMap<K, V, L> extends ReferenceQueue<K>
abstract class AbstractWeakConcurrentMap<K, V, L> extends ReferenceQueue<K>
implements Runnable, Iterable<Map.Entry<K, V>> {
final ConcurrentMap<WeakKey<K>, V> target;