Upgrade dependencies, including Gradle (#2997)

* `exclude group: 'org.springframework'` from all non-core Spring
dependencies to avoid CLASSPATH conflicts
* Remove suppress from from some modules which don't report compilation
warnings any more
* Fix deprecation warnings reported after upgrades
This commit is contained in:
Artem Bilan
2019-07-22 15:12:28 -04:00
committed by Gary Russell
parent 8bb0e194c0
commit 42d8faf11e
6 changed files with 50 additions and 43 deletions

View File

@@ -154,11 +154,10 @@ public class CacheListeningMessageProducerTests {
producer.stop();
}
@SuppressWarnings("unchecked")
private static void setRegionAttributes(GenericRegionFactoryBean<String, String> regionFactoryBean)
throws Exception {
RegionAttributesFactoryBean attributesFactoryBean = new RegionAttributesFactoryBean();
RegionAttributesFactoryBean<String, String> attributesFactoryBean = new RegionAttributesFactoryBean<>();
attributesFactoryBean.afterPropertiesSet();
regionFactoryBean.setAttributes(attributesFactoryBean.getObject());
}