Mark AbstractWeakConcurrentMap as package protected, no usage (#2731)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
This commit is contained in:
parent
2c2f0b9280
commit
7952823322
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue