Amend HBASE-26353 Support loadable dictionaries in hbase-compression-zstd (#3787)

Resolve a new spotbugs warning in DictionaryCache

Signed-off-by: Andrew Purtell <apache.org>
This commit is contained in:
Andrew Purtell 2021-10-29 09:19:08 -07:00
parent 9ce0066cde
commit 60f01153f7

View File

@ -46,7 +46,7 @@ public final class DictionaryCache {
public static final String RESOURCE_SCHEME = "resource://";
private static final Logger LOG = LoggerFactory.getLogger(DictionaryCache.class);
private static LoadingCache<String, byte[]> CACHE;
private static volatile LoadingCache<String, byte[]> CACHE;
private DictionaryCache() { }