File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
junit-platform-engine/src/main/java/org/junit/platform/engine Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 11
11
package org .junit .platform .engine ;
12
12
13
13
import static java .util .Arrays .asList ;
14
+ import static org .apiguardian .api .API .Status .DEPRECATED ;
14
15
import static org .apiguardian .api .API .Status .STABLE ;
15
16
import static org .junit .platform .commons .util .CollectionUtils .getOnlyElement ;
16
17
import static org .junit .platform .engine .CompositeFilter .alwaysIncluded ;
@@ -94,6 +95,8 @@ static <T> Filter<T> composeFilters(Collection<? extends Filter<T>> filters) {
94
95
* @param adaptee the filter to be adapted
95
96
* @param converter the converter function to apply
96
97
*/
98
+ @ API (status = DEPRECATED , since = "6.0" )
99
+ @ Deprecated (since = "6.0" , forRemoval = true )
97
100
static <T , V > Filter <T > adaptFilter (Filter <V > adaptee , Function <T , V > converter ) {
98
101
return input -> adaptee .apply (converter .apply (input ));
99
102
}
You can’t perform that action at this time.
0 commit comments