mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Correct ApiVersionConfigurer method signature
Closes gh-36551
This commit is contained in:
+2
-1
@@ -205,8 +205,9 @@ public class ApiVersionConfigurer {
|
||||
* {@link #addSupportedVersions} and {@link #detectSupportedVersions}.
|
||||
* @param predicate the predicate to use
|
||||
*/
|
||||
public void setSupportedVersionPredicate(@Nullable Predicate<Comparable<?>> predicate) {
|
||||
public ApiVersionConfigurer setSupportedVersionPredicate(@Nullable Predicate<Comparable<?>> predicate) {
|
||||
this.supportedVersionPredicate = predicate;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
+2
-1
@@ -205,8 +205,9 @@ public class ApiVersionConfigurer {
|
||||
* {@link #addSupportedVersions} and {@link #detectSupportedVersions}.
|
||||
* @param predicate the predicate to use
|
||||
*/
|
||||
public void setSupportedVersionPredicate(@Nullable Predicate<Comparable<?>> predicate) {
|
||||
public ApiVersionConfigurer setSupportedVersionPredicate(@Nullable Predicate<Comparable<?>> predicate) {
|
||||
this.supportedVersionPredicate = predicate;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user