You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cache/EhCacheCacheConfiguration.java
Copy file name to clipboardexpand all lines: spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cache/HazelcastCacheConfiguration.java
Copy file name to clipboardexpand all lines: spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ResourceCondition.java
+2-2
Original file line number
Diff line number
Diff line change
@@ -60,8 +60,8 @@ public ConditionOutcome getMatchOutcome(ConditionContext context,
Copy file name to clipboardexpand all lines: spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/hazelcast/HazelcastAutoConfiguration.java
Copy file name to clipboardexpand all lines: spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/hazelcast/HazelcastConfigResourceCondition.java
Copy file name to clipboardexpand all lines: spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/hazelcast/HazelcastProperties.java
+5-5
Original file line number
Diff line number
Diff line change
@@ -49,12 +49,12 @@ public void setConfig(Resource config) {
49
49
* location
50
50
*/
51
51
publicResourceresolveConfigLocation() {
52
-
if (this.config != null) {
53
-
Assert.isTrue(this.config.exists(), "Hazelcast configuration does not exist '"
54
-
+ this.config.getDescription() + "'");
55
-
returnthis.config;
52
+
if (this.config == null) {
53
+
returnnull;
56
54
}
57
-
returnnull;
55
+
Assert.isTrue(this.config.exists(), "Hazelcast configuration does not exist '"
Copy file name to clipboardexpand all lines: spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/cache/CacheAutoConfigurationTests.java
+13-18
Original file line number
Diff line number
Diff line change
@@ -375,13 +375,12 @@ public void hazelcastCacheWithMainHazelcastAutoConfiguration() throws IOExceptio
Copy file name to clipboardexpand all lines: spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/condition/ResourceConditionTests.java
Copy file name to clipboardexpand all lines: spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/hazelcast/HazelcastAutoConfigurationTests.java
0 commit comments