Skip to content

Commit 0ad7fae

Browse files
committed
Remove obsolete method
1 parent 34084d8 commit 0ad7fae

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

junit-jupiter-params/src/main/java/org/junit/jupiter/params/ParameterizedTestNameFormatter.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
import java.util.function.Function;
3535
import java.util.stream.IntStream;
3636

37-
import org.junit.jupiter.api.Named;
3837
import org.junit.jupiter.api.extension.ExtensionConfigurationException;
3938
import org.junit.platform.commons.JUnitException;
4039
import org.junit.platform.commons.util.StringUtils;
@@ -79,12 +78,6 @@ private String formatSafely(int invocationIndex, EvaluatedArgumentSet arguments)
7978
return result.toString();
8079
}
8180

82-
private Object[] extractNamedArguments(Object[] arguments) {
83-
return Arrays.stream(arguments) //
84-
.map(argument -> argument instanceof Named ? ((Named<?>) argument).getName() : argument) //
85-
.toArray();
86-
}
87-
8881
private PartialFormatter[] parse(String pattern, String displayName, ParameterizedTestMethodContext methodContext,
8982
int argumentMaxLength) {
9083

0 commit comments

Comments
 (0)