Fix warnings
This commit is contained in:
parent
ee629a84fa
commit
7956e68224
|
|
@ -108,8 +108,6 @@ public class EndpointWebMvcAutoConfiguration
|
|||
private static final Log logger = LogFactory
|
||||
.getLog(EndpointWebMvcAutoConfiguration.class);
|
||||
|
||||
private static final ConfigurableListableBeanFactory BeanDefinitionRegistry = null;
|
||||
|
||||
private ApplicationContext applicationContext;
|
||||
|
||||
private BeanFactory beanFactory;
|
||||
|
|
|
|||
|
|
@ -26,9 +26,6 @@ import java.util.LinkedHashSet;
|
|||
import java.util.List;
|
||||
import java.util.Set;
|
||||
|
||||
import org.apache.commons.logging.Log;
|
||||
import org.apache.commons.logging.LogFactory;
|
||||
|
||||
import org.springframework.beans.factory.BeanFactory;
|
||||
import org.springframework.beans.factory.HierarchicalBeanFactory;
|
||||
import org.springframework.beans.factory.ListableBeanFactory;
|
||||
|
|
@ -61,8 +58,6 @@ import org.springframework.util.StringUtils;
|
|||
@Order(Ordered.LOWEST_PRECEDENCE)
|
||||
class OnBeanCondition extends SpringBootCondition implements ConfigurationCondition {
|
||||
|
||||
private static final Log logger = LogFactory.getLog(OnBeanCondition.class);
|
||||
|
||||
private static final String[] NO_BEANS = {};
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -100,7 +100,6 @@
|
|||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-assembly-plugin</artifactId>
|
||||
<version>2.6</version>
|
||||
<inherited>false</inherited>
|
||||
<executions>
|
||||
<execution>
|
||||
|
|
|
|||
|
|
@ -161,6 +161,7 @@ public class SpringApplicationTests {
|
|||
}
|
||||
|
||||
@Test
|
||||
@Deprecated
|
||||
public void disableBannerWithMode() throws Exception {
|
||||
SpringApplication application = spy(new SpringApplication(ExampleConfig.class));
|
||||
application.setWebEnvironment(false);
|
||||
|
|
@ -170,6 +171,7 @@ public class SpringApplicationTests {
|
|||
}
|
||||
|
||||
@Test
|
||||
@Deprecated
|
||||
public void disableBannerViaBannerModeProperty() throws Exception {
|
||||
SpringApplication application = spy(new SpringApplication(ExampleConfig.class));
|
||||
application.setWebEnvironment(false);
|
||||
|
|
|
|||
Loading…
Reference in New Issue