Optimize imports.

Remove unnecessary @SuppressWarnings(..) annotation declarations.
This commit is contained in:
John Blum
2020-08-08 15:32:10 -07:00
parent 5ed0618998
commit b0f79b5078
3 changed files with 3 additions and 2 deletions

View File

@@ -21,6 +21,7 @@ import org.apache.geode.cache.CacheLoader;
import org.apache.geode.cache.CacheLoaderException;
import org.apache.geode.cache.CacheRuntimeException;
import org.apache.geode.cache.LoaderHelper;
import org.springframework.data.repository.CrudRepository;
import org.springframework.geode.cache.support.RepositoryCacheLoaderWriterSupport;

View File

@@ -22,6 +22,7 @@ import org.apache.geode.cache.CacheWriter;
import org.apache.geode.cache.CacheWriterException;
import org.apache.geode.cache.EntryEvent;
import org.apache.geode.cache.RegionEvent;
import org.springframework.data.repository.CrudRepository;
import org.springframework.geode.cache.support.RepositoryCacheLoaderWriterSupport;
import org.springframework.geode.core.util.function.FunctionUtils;

View File

@@ -73,7 +73,7 @@ public abstract class RepositoryCacheLoaderWriterSupport<T, ID>
.orElse(Boolean.getBoolean(NUKE_AND_PAVE_PROPERTY));
}
@Override @SuppressWarnings("all")
@Override
public void setEnvironment(@Nullable Environment environment) {
this.environment = environment;
}
@@ -86,7 +86,6 @@ public abstract class RepositoryCacheLoaderWriterSupport<T, ID>
return this.repository;
}
@SuppressWarnings("all")
protected <S, R> R doRepositoryOp(S entity, Function<S, R> repositoryOperation) {
try {