Skip to content

Commit a9cc5cf

Browse files
committed
Updates boot 3.5 verification with class from boot 3.5
1 parent bb2936d commit a9cc5cf

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

spring-cloud-commons/src/main/java/org/springframework/cloud/configuration/SpringBootVersionVerifier.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -80,13 +80,13 @@ public String toString() {
8080

8181
@Override
8282
public boolean isCompatible() {
83-
// try {
84-
// Class.forName("org.springframework.boot.autoconfigure.web.client.RestClientSsl");
85-
return true;
86-
// }
87-
// catch (ClassNotFoundException e) {
88-
// return false;
89-
// }
83+
try {
84+
Class.forName("org.springframework.boot.autoconfigure.condition.ConditionalOnBooleanProperty");
85+
return true;
86+
}
87+
catch (ClassNotFoundException e) {
88+
return false;
89+
}
9090
}
9191
};
9292
}

0 commit comments

Comments
 (0)