final and whitespace
This commit is contained in:
parent
0b80d13297
commit
4a233e989c
|
@ -300,7 +300,7 @@ public class TypeUtilsTest<B> extends AbstractLangTest {
|
||||||
public void test_LANG_1698() {
|
public void test_LANG_1698() {
|
||||||
// SO on Java 17
|
// SO on Java 17
|
||||||
assumeTrue(SystemUtils.isJavaVersionAtMost(JavaVersion.JAVA_16));
|
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()
|
.filter(k -> k.getName().equals("comparing")).findFirst()
|
||||||
.orElse(Comparator.class.getDeclaredMethods()[0]).getGenericParameterTypes()[0];
|
.orElse(Comparator.class.getDeclaredMethods()[0]).getGenericParameterTypes()[0];
|
||||||
final String typeName = TypeUtils
|
final String typeName = TypeUtils
|
||||||
|
|
Loading…
Reference in New Issue