File tree 3 files changed +16
-16
lines changed
main/java/org/springframework/cloud/configuration
test/java/org/springframework/cloud/configuration
3 files changed +16
-16
lines changed Original file line number Diff line number Diff line change @@ -34,9 +34,9 @@ public class CompatibilityVerifierProperties {
34
34
/**
35
35
* Default accepted versions for the Spring Boot dependency. You can set {@code x} for
36
36
* the patch version if you don't want to specify a concrete value. Example:
37
- * {@code 3.4 .x}
37
+ * {@code 3.5 .x}
38
38
*/
39
- private List <String > compatibleBootVersions = List .of ("3.4 .x" );
39
+ private List <String > compatibleBootVersions = List .of ("3.5 .x" );
40
40
41
41
public boolean isEnabled () {
42
42
return this .enabled ;
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ class SpringBootVersionVerifier implements CompatibilityVerifier {
35
35
36
36
final Map <String , CompatibilityPredicate > ACCEPTED_VERSIONS = new HashMap <>() {
37
37
{
38
- this .put ("3.4 " , is3_4 ());
38
+ this .put ("3.5 " , is3_5 ());
39
39
}
40
40
};
41
41
@@ -70,23 +70,23 @@ String getVersionFromManifest() {
70
70
return SpringBootVersion .getVersion ();
71
71
}
72
72
73
- CompatibilityPredicate is3_4 () {
73
+ CompatibilityPredicate is3_5 () {
74
74
return new CompatibilityPredicate () {
75
75
76
76
@ Override
77
77
public String toString () {
78
- return "Predicate for Boot 3.4 " ;
78
+ return "Predicate for Boot 3.5 " ;
79
79
}
80
80
81
81
@ Override
82
82
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
+ // }
90
90
}
91
91
};
92
92
}
Original file line number Diff line number Diff line change @@ -176,8 +176,8 @@ String getVersionFromManifest() {
176
176
@ Test
177
177
public void should_match_against_current_manifest () {
178
178
try {
179
- verifyCurrentVersionFromManifest ("3.4 " );
180
- verifyCurrentVersionFromManifest ("3.4 .x" );
179
+ verifyCurrentVersionFromManifest ("3.5 " );
180
+ verifyCurrentVersionFromManifest ("3.5 .x" );
181
181
}
182
182
catch (AssertionError e ) {
183
183
// if (e.getMessage() != null && e.getMessage().contains("3.3.")) {
@@ -212,7 +212,7 @@ String getVersionFromManifest() {
212
212
}
213
213
};
214
214
versionVerifier .ACCEPTED_VERSIONS .clear ();
215
- versionVerifier .ACCEPTED_VERSIONS .put ("3.0" , versionVerifier .is3_4 ());
215
+ versionVerifier .ACCEPTED_VERSIONS .put ("3.0" , versionVerifier .is3_5 ());
216
216
217
217
VerificationResult verificationResult = versionVerifier .verify ();
218
218
@@ -230,7 +230,7 @@ String getVersionFromManifest() {
230
230
}
231
231
};
232
232
versionVerifier .ACCEPTED_VERSIONS .clear ();
233
- versionVerifier .ACCEPTED_VERSIONS .put ("3.0" , versionVerifier .is3_4 ());
233
+ versionVerifier .ACCEPTED_VERSIONS .put ("3.0" , versionVerifier .is3_5 ());
234
234
235
235
VerificationResult verificationResult = versionVerifier .verify ();
236
236
You can’t perform that action at this time.
0 commit comments