(fix) checkstyle violation

This commit is contained in:
Rob Tompkins 2019-04-10 21:25:46 -04:00
parent 1889cacfaf
commit abb39c22c0
1 changed files with 1 additions and 1 deletions

View File

@ -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");