From 2e01c312e871a046c66c427dc9fa2aa6c3dcde89 Mon Sep 17 00:00:00 2001 From: Peter Alfonsi Date: Mon, 4 Mar 2024 11:24:33 -0800 Subject: [PATCH] spotlessApply Signed-off-by: Peter Alfonsi --- .../java/org/opensearch/cache/EhcacheDiskCacheSettings.java | 1 - .../java/org/opensearch/cache/store/disk/EhcacheDiskCache.java | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/cache-ehcache/src/main/java/org/opensearch/cache/EhcacheDiskCacheSettings.java b/plugins/cache-ehcache/src/main/java/org/opensearch/cache/EhcacheDiskCacheSettings.java index d1d3aaad79b49..bdcc03d2e4ab8 100644 --- a/plugins/cache-ehcache/src/main/java/org/opensearch/cache/EhcacheDiskCacheSettings.java +++ b/plugins/cache-ehcache/src/main/java/org/opensearch/cache/EhcacheDiskCacheSettings.java @@ -17,7 +17,6 @@ import java.util.HashMap; import java.util.Map; -import static org.opensearch.common.settings.Setting.Property.Dynamic; import static org.opensearch.common.settings.Setting.Property.NodeScope; /** diff --git a/plugins/cache-ehcache/src/main/java/org/opensearch/cache/store/disk/EhcacheDiskCache.java b/plugins/cache-ehcache/src/main/java/org/opensearch/cache/store/disk/EhcacheDiskCache.java index 134899546c9f3..a71ebb397a1d2 100644 --- a/plugins/cache-ehcache/src/main/java/org/opensearch/cache/store/disk/EhcacheDiskCache.java +++ b/plugins/cache-ehcache/src/main/java/org/opensearch/cache/store/disk/EhcacheDiskCache.java @@ -29,6 +29,7 @@ import org.opensearch.common.settings.Setting; import org.opensearch.common.settings.Settings; import org.opensearch.common.unit.TimeValue; +import org.opensearch.core.common.unit.ByteSizeValue; import java.io.File; import java.time.Duration; @@ -59,7 +60,6 @@ import org.ehcache.impl.config.store.disk.OffHeapDiskStoreConfiguration; import org.ehcache.spi.loaderwriter.CacheLoadingException; import org.ehcache.spi.loaderwriter.CacheWritingException; -import org.opensearch.core.common.unit.ByteSizeValue; import static org.opensearch.cache.EhcacheDiskCacheSettings.DISK_CACHE_ALIAS_KEY; import static org.opensearch.cache.EhcacheDiskCacheSettings.DISK_CACHE_EXPIRE_AFTER_ACCESS_KEY;