Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@
<path>
<groupId>com.uber.nullaway</groupId>
<artifactId>nullaway</artifactId>
<version>0.13.7</version>
<version>0.13.8</version>
</path>
</annotationProcessorPaths>
</configuration>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;
import java.util.stream.Collectors;
import javax.annotation.Nullable;

/**
* Collect metrics from Caffeine's com.github.benmanes.caffeine.cache.Cache.
Expand Down Expand Up @@ -149,6 +150,7 @@ public void addCache(String cacheName, AsyncCache<?, ?> cache) {
*
* @param cacheName cache to be removed
*/
@Nullable
public Cache<?, ?> removeCache(String cacheName) {
return children.remove(cacheName);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;
import javax.annotation.Nullable;

/**
* Collect metrics from Guava's com.google.common.cache.Cache.
Expand Down Expand Up @@ -100,6 +101,7 @@ public void addCache(String cacheName, Cache<?, ?> cache) {
*
* @param cacheName cache to be removed
*/
@Nullable
public Cache<?, ?> removeCache(String cacheName) {
return children.remove(cacheName);
}
Expand Down