final and whitespace

This commit is contained in:
Gary Gregory 2023-07-23 08:52:29 -04:00
parent 0b80d13297
commit 4a233e989c
1 changed files with 2 additions and 2 deletions

View File

@ -300,7 +300,7 @@ public class TypeUtilsTest<B> extends AbstractLangTest {
public void test_LANG_1698() {
// SO on Java 17
assumeTrue(SystemUtils.isJavaVersionAtMost(JavaVersion.JAVA_16));
ParameterizedType comparing = (ParameterizedType) Arrays.stream(Comparator.class.getDeclaredMethods())
final ParameterizedType comparing = (ParameterizedType) Arrays.stream(Comparator.class.getDeclaredMethods())
.filter(k -> k.getName().equals("comparing")).findFirst()
.orElse(Comparator.class.getDeclaredMethods()[0]).getGenericParameterTypes()[0];
final String typeName = TypeUtils