Merge branch '1.4.x' into 1.5.x
This commit is contained in:
@@ -56,6 +56,7 @@ abstract class HazelcastInstanceConfiguration {
|
||||
@Bean
|
||||
public HazelcastCacheManager cacheManager(
|
||||
HazelcastInstance existingHazelcastInstance) throws IOException {
|
||||
@SuppressWarnings("deprecation")
|
||||
Resource config = this.cacheProperties.getHazelcast().getConfig();
|
||||
Resource location = this.cacheProperties.resolveConfigLocation(config);
|
||||
if (location != null) {
|
||||
@@ -86,6 +87,7 @@ abstract class HazelcastInstanceConfiguration {
|
||||
|
||||
@Bean
|
||||
public HazelcastInstance hazelcastInstance() throws IOException {
|
||||
@SuppressWarnings("deprecation")
|
||||
Resource config = this.cacheProperties.getHazelcast().getConfig();
|
||||
Resource location = this.cacheProperties.resolveConfigLocation(config);
|
||||
if (location != null) {
|
||||
|
||||
@@ -646,7 +646,7 @@ public class ConditionalOnMissingBeanTests {
|
||||
public static class ExampleFactoryBean implements FactoryBean<ExampleBean> {
|
||||
|
||||
public ExampleFactoryBean(String value) {
|
||||
Assert.state(!value.contains("$"));
|
||||
Assert.state(!value.contains("$"), "value must not contain $");
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -669,7 +669,7 @@ public class ConditionalOnMissingBeanTests {
|
||||
public static class NonspecificFactoryBean implements FactoryBean<Object> {
|
||||
|
||||
public NonspecificFactoryBean(String value) {
|
||||
Assert.state(!value.contains("$"));
|
||||
Assert.state(!value.contains("$"), "value must not contain $");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user