(fix) checkstyle violation
This commit is contained in:
parent
1889cacfaf
commit
abb39c22c0
|
@ -1052,7 +1052,7 @@ public class FieldUtilsTest {
|
|||
try {
|
||||
FieldUtils.removeFinalModifier(field, forceAccess);
|
||||
} catch (UnsupportedOperationException exception) {
|
||||
if(SystemUtils.isJavaVersionAtLeast(JavaVersion.JAVA_12)) {
|
||||
if (SystemUtils.isJavaVersionAtLeast(JavaVersion.JAVA_12)) {
|
||||
assertTrue(exception.getCause() instanceof NoSuchFieldException);
|
||||
} else {
|
||||
fail("No exception should be thrown for java prior to 12.0");
|
||||
|
|
Loading…
Reference in New Issue