Skip to content

Commit

Permalink
remove deprecation suppressing on AnnotatedConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
HSGamer committed Mar 17, 2024
1 parent a2d2dad commit 48d7712
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ private void checkAndSetField(Field field, Object value) {
this.setValue(field, value);
}

@SuppressWarnings("deprecation")
private void setValue(Field field, Object value) {
boolean accessible = field.isAccessible();
field.setAccessible(true);
Expand All @@ -148,7 +147,6 @@ private void setValue(Field field, Object value) {
}
}

@SuppressWarnings("deprecation")
private Object getValue(Field field) {
boolean accessible = field.isAccessible();
field.setAccessible(true);
Expand Down

0 comments on commit 48d7712

Please sign in to comment.