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

View File

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