File tree Expand file tree Collapse file tree 3 files changed +16
-16
lines changed
main/java/org/springframework/cloud/configuration
test/java/org/springframework/cloud/configuration Expand file tree Collapse file tree 3 files changed +16
-16
lines changed Original file line number Diff line number Diff line change @@ -34,9 +34,9 @@ public class CompatibilityVerifierProperties {
3434 /**
3535 * Default accepted versions for the Spring Boot dependency. You can set {@code x} for
3636 * the patch version if you don't want to specify a concrete value. Example:
37- * {@code 3.4 .x}
37+ * {@code 3.5 .x}
3838 */
39- private List <String > compatibleBootVersions = List .of ("3.4 .x" );
39+ private List <String > compatibleBootVersions = List .of ("3.5 .x" );
4040
4141 public boolean isEnabled () {
4242 return this .enabled ;
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ class SpringBootVersionVerifier implements CompatibilityVerifier {
3535
3636 final Map <String , CompatibilityPredicate > ACCEPTED_VERSIONS = new HashMap <>() {
3737 {
38- this .put ("3.4 " , is3_4 ());
38+ this .put ("3.5 " , is3_5 ());
3939 }
4040 };
4141
@@ -70,23 +70,23 @@ String getVersionFromManifest() {
7070 return SpringBootVersion .getVersion ();
7171 }
7272
73- CompatibilityPredicate is3_4 () {
73+ CompatibilityPredicate is3_5 () {
7474 return new CompatibilityPredicate () {
7575
7676 @ Override
7777 public String toString () {
78- return "Predicate for Boot 3.4 " ;
78+ return "Predicate for Boot 3.5 " ;
7979 }
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.web.client.RestClientSsl");
85+ return true ;
86+ // }
87+ // catch (ClassNotFoundException e) {
88+ // return false;
89+ // }
9090 }
9191 };
9292 }
Original file line number Diff line number Diff line change @@ -176,8 +176,8 @@ String getVersionFromManifest() {
176176 @ Test
177177 public void should_match_against_current_manifest () {
178178 try {
179- verifyCurrentVersionFromManifest ("3.4 " );
180- verifyCurrentVersionFromManifest ("3.4 .x" );
179+ verifyCurrentVersionFromManifest ("3.5 " );
180+ verifyCurrentVersionFromManifest ("3.5 .x" );
181181 }
182182 catch (AssertionError e ) {
183183 // if (e.getMessage() != null && e.getMessage().contains("3.3.")) {
@@ -212,7 +212,7 @@ String getVersionFromManifest() {
212212 }
213213 };
214214 versionVerifier .ACCEPTED_VERSIONS .clear ();
215- versionVerifier .ACCEPTED_VERSIONS .put ("3.0" , versionVerifier .is3_4 ());
215+ versionVerifier .ACCEPTED_VERSIONS .put ("3.0" , versionVerifier .is3_5 ());
216216
217217 VerificationResult verificationResult = versionVerifier .verify ();
218218
@@ -230,7 +230,7 @@ String getVersionFromManifest() {
230230 }
231231 };
232232 versionVerifier .ACCEPTED_VERSIONS .clear ();
233- versionVerifier .ACCEPTED_VERSIONS .put ("3.0" , versionVerifier .is3_4 ());
233+ versionVerifier .ACCEPTED_VERSIONS .put ("3.0" , versionVerifier .is3_5 ());
234234
235235 VerificationResult verificationResult = versionVerifier .verify ();
236236
You can’t perform that action at this time.
0 commit comments