Skip to content

Commit b8dff5f

Browse files
committed
Merge branch '2.1.x'
2 parents e1a7f1e + 9d06d22 commit b8dff5f

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cassandra/CassandraAutoConfiguration.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ public class CassandraAutoConfiguration {
4949

5050
@Bean
5151
@ConditionalOnMissingBean
52-
@SuppressWarnings("deprecation")
5352
public Cluster cassandraCluster(CassandraProperties properties,
5453
ObjectProvider<ClusterBuilderCustomizer> builderCustomizers) {
5554
PropertyMapper map = PropertyMapper.get();

spring-boot-project/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/web/servlet/WebMvcTypeExcludeFilter.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2018 the original author or authors.
2+
* Copyright 2012-2019 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -113,7 +113,6 @@ protected boolean isUseDefaultFilters() {
113113
}
114114

115115
@Override
116-
@SuppressWarnings("deprecation")
117116
protected Set<Class<?>> getDefaultIncludes() {
118117
if (ObjectUtils.isEmpty(this.annotation.controllers())) {
119118
return DEFAULT_INCLUDES_AND_CONTROLLER;

spring-boot-project/spring-boot/src/test/java/org/springframework/boot/cloud/CloudPlatformTests.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2017 the original author or authors.
2+
* Copyright 2012-2019 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -92,7 +92,7 @@ public void getActiveWhenHasServiceHostAndServicePortShouldReturnKubernetes() {
9292
Map<String, Object> source = new HashMap<>();
9393
source.put("EXAMPLE_SERVICE_HOST", "---");
9494
source.put("EXAMPLE_SERVICE_PORT", "8080");
95-
PropertySource propertySource = new SystemEnvironmentPropertySource(
95+
PropertySource<?> propertySource = new SystemEnvironmentPropertySource(
9696
StandardEnvironment.SYSTEM_ENVIRONMENT_PROPERTY_SOURCE_NAME, source);
9797
environment.getPropertySources().addFirst(propertySource);
9898
CloudPlatform platform = CloudPlatform.getActive(environment);
@@ -103,7 +103,7 @@ public void getActiveWhenHasServiceHostAndServicePortShouldReturnKubernetes() {
103103
@Test
104104
public void getActiveWhenHasServiceHostAndNoServicePortShouldNotReturnKubernetes() {
105105
MockEnvironment environment = new MockEnvironment();
106-
PropertySource propertySource = new SystemEnvironmentPropertySource(
106+
PropertySource<?> propertySource = new SystemEnvironmentPropertySource(
107107
StandardEnvironment.SYSTEM_ENVIRONMENT_PROPERTY_SOURCE_NAME,
108108
Collections.singletonMap("EXAMPLE_SERVICE_HOST", "---"));
109109
environment.getPropertySources().addFirst(propertySource);

0 commit comments

Comments
 (0)