diff --git a/dotCMS/src/enterprise/java/com/dotcms/enterprise/cache/provider/CacheProviderAPIImpl.java b/dotCMS/src/enterprise/java/com/dotcms/enterprise/cache/provider/CacheProviderAPIImpl.java index d725c22a8390..540020dc0ea0 100644 --- a/dotCMS/src/enterprise/java/com/dotcms/enterprise/cache/provider/CacheProviderAPIImpl.java +++ b/dotCMS/src/enterprise/java/com/dotcms/enterprise/cache/provider/CacheProviderAPIImpl.java @@ -45,7 +45,6 @@ package com.dotcms.enterprise.cache.provider; -import com.dotcms.cache.DynamicTTLCache; import com.dotcms.enterprise.LicenseUtil; import com.dotcms.enterprise.license.LicenseLevel; import com.dotmarketing.business.APILocator; @@ -69,7 +68,6 @@ import java.util.Map; import java.util.Optional; import java.util.Set; -import java.util.concurrent.ConcurrentHashMap; /** * @author Jonathan Gamba @@ -79,7 +77,7 @@ public class CacheProviderAPIImpl implements CacheProviderAPI, CacheOSGIService private static final String CACHE_POOL_DEFAULT_CHAIN = "cache.default.chain"; - // we use a cache for providers because ConcurrentHashMap has a recusion problem in its computeIfAbsent method + // we use a cache for providers because ConcurrentHashMap has a recursion problem in its computeIfAbsent method private static final Cache> configuredChainsPerRegion = Caffeine.newBuilder().maximumSize(10000).build(); private final List noLicenseProviders = List.of(CaffineCache.class.getCanonicalName()); @@ -124,7 +122,6 @@ private boolean isCommunity () { * Return all the registered CacheProviders, there are cases when is required to iterate over all the Providers, like on * a flush or a shutdown * - * @return */ private List getAllProviders () { @@ -164,7 +161,6 @@ private List getProviderNamesPerRegion(String group){ * is heavily used!. * * @param group - * @return */ private List getProvidersForRegion ( String group ) {