reducing visibility of internal class
This commit is contained in:
parent
503d1d8aff
commit
16c44d264b
|
@ -29,7 +29,7 @@ import java.util.Collections;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.concurrent.ConcurrentHashMap;
|
import java.util.concurrent.ConcurrentHashMap;
|
||||||
|
|
||||||
public class ActiveSubscriptionCache {
|
class ActiveSubscriptionCache {
|
||||||
private static final org.slf4j.Logger ourLog = org.slf4j.LoggerFactory.getLogger(ActiveSubscriptionCache.class);
|
private static final org.slf4j.Logger ourLog = org.slf4j.LoggerFactory.getLogger(ActiveSubscriptionCache.class);
|
||||||
|
|
||||||
private final Map<String, ActiveSubscription> myCache = new ConcurrentHashMap<>();
|
private final Map<String, ActiveSubscription> myCache = new ConcurrentHashMap<>();
|
||||||
|
@ -72,7 +72,7 @@ public class ActiveSubscriptionCache {
|
||||||
}
|
}
|
||||||
|
|
||||||
@VisibleForTesting
|
@VisibleForTesting
|
||||||
public void clearForUnitTests() {
|
void clearForUnitTests() {
|
||||||
myCache.clear();
|
myCache.clear();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue