Updates SpringBootVersionVerifier with class from boot 3.2

This commit is contained in:
spencergibb
2023-07-17 21:27:12 -04:00
parent a6ac50f0a7
commit 8cfb8e3732

View File

@@ -81,17 +81,13 @@ class SpringBootVersionVerifier implements CompatibilityVerifier {
@Override
public boolean isCompatible() {
// try {
// since 3.2
// TODO: find new class/method in boot since 3.2
// Class.forName(
// "org.springframework.boot.autoconfigure.validation.ValidationConfigurationCustomizer");
return true;
// }
// catch (ClassNotFoundException e) {
// return false;
// }
try {
Class.forName("org.springframework.boot.autoconfigure.web.client.RestClientSsl");
return true;
}
catch (ClassNotFoundException e) {
return false;
}
}
};