diff --git a/hibernate-core/src/main/java/org/hibernate/cache/spi/support/AbstractCachedDomainDataAccess.java b/hibernate-core/src/main/java/org/hibernate/cache/spi/support/AbstractCachedDomainDataAccess.java index 7bcd27b280..e4475a3a5a 100644 --- a/hibernate-core/src/main/java/org/hibernate/cache/spi/support/AbstractCachedDomainDataAccess.java +++ b/hibernate-core/src/main/java/org/hibernate/cache/spi/support/AbstractCachedDomainDataAccess.java @@ -38,9 +38,8 @@ public abstract class AbstractCachedDomainDataAccess implements CachedDomainData return storageAccess; } - @SuppressWarnings({"unchecked", "WeakerAccess"}) protected void clearCache() { - log.debugf( "Clearing cache data map [region=`%s`]" ); + log.debugf( "Clearing cache data map [region=`%s`]", region.getName() ); getStorageAccess().evictData(); }