Replace use of Apache Shiro StringUtils with Spring Framework StringUtils.
This commit is contained in:
@@ -18,8 +18,6 @@ package org.springframework.data.gemfire.tests.extensions.spring.context.annotat
|
||||
import java.lang.annotation.Annotation;
|
||||
import java.util.Optional;
|
||||
|
||||
import org.apache.shiro.util.StringUtils;
|
||||
|
||||
import org.springframework.beans.BeansException;
|
||||
import org.springframework.beans.factory.config.BeanDefinition;
|
||||
import org.springframework.beans.factory.config.BeanFactoryPostProcessor;
|
||||
@@ -30,6 +28,7 @@ import org.springframework.data.gemfire.tests.util.SpringUtils;
|
||||
import org.springframework.data.gemfire.util.ArrayUtils;
|
||||
import org.springframework.lang.NonNull;
|
||||
import org.springframework.lang.Nullable;
|
||||
import org.springframework.util.StringUtils;
|
||||
|
||||
/**
|
||||
* Spring {@link BeanFactoryPostProcessor} implementation used to post process {@link BeanDefinition BeanDefinitions}
|
||||
|
||||
@@ -37,7 +37,6 @@ import java.util.concurrent.atomic.AtomicReference;
|
||||
import java.util.function.Function;
|
||||
import java.util.function.Predicate;
|
||||
import java.util.function.Supplier;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
import org.junit.AfterClass;
|
||||
import org.junit.Before;
|
||||
@@ -56,8 +55,6 @@ import org.apache.geode.internal.cache.InternalCache;
|
||||
import org.apache.geode.internal.net.SSLConfigurationFactory;
|
||||
import org.apache.geode.internal.net.SocketCreatorFactory;
|
||||
|
||||
import org.apache.shiro.util.StringUtils;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.ApplicationContext;
|
||||
import org.springframework.context.ApplicationEvent;
|
||||
@@ -80,6 +77,7 @@ import org.springframework.lang.NonNull;
|
||||
import org.springframework.lang.Nullable;
|
||||
import org.springframework.util.Assert;
|
||||
import org.springframework.util.ReflectionUtils;
|
||||
import org.springframework.util.StringUtils;
|
||||
|
||||
/**
|
||||
* The {@link IntegrationTestsSupport} class is an abstract base class supporting integration tests
|
||||
@@ -235,7 +233,7 @@ public abstract class IntegrationTestsSupport {
|
||||
|
||||
List<String> allSystemPropertyNames = System.getProperties().stringPropertyNames().stream()
|
||||
.filter(ALL_SYSTEM_PROPERTIES_NAME_PREDICATE)
|
||||
.collect(Collectors.toList());
|
||||
.toList();
|
||||
|
||||
allSystemPropertyNames.forEach(System::clearProperty);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user