Identical catch blocks can be combined

This commit is contained in:
Benedikt Ritter 2018-08-26 17:25:29 +02:00
parent b1deb442d1
commit 9fb4f47f35
No known key found for this signature in database
GPG Key ID: 9DAADC1C9FCC82D0
1 changed files with 1 additions and 3 deletions

View File

@ -733,10 +733,8 @@ public class FieldUtils {
}
}
}
} catch (final NoSuchFieldException ignored) {
} catch (final NoSuchFieldException | IllegalAccessException ignored) {
// The field class contains always a modifiers field
} catch (final IllegalAccessException ignored) {
// The modifiers field is made accessible
}
}