Skip to content

Commit

Permalink
Silenced all warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
andreabergia authored and gbrail committed Aug 24, 2024
1 parent 9451bc7 commit bd4c086
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/src/main/java/File.java
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ public void close() throws IOException {
*
* <p>Close the file when this object is collected.
*/
@SuppressWarnings("deprecation")
@Override
protected void finalize() {
try {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ protected boolean tryToMakeAccessible(AccessibleObject accessible) {
return accessible.trySetAccessible();
}

@SuppressWarnings("deprecation")
@Override
protected Object getInterfaceProxyHelper(ContextFactory cf, Class<?>[] interfaces) {
// XXX: How to handle interfaces array withclasses from different
Expand Down

0 comments on commit bd4c086

Please sign in to comment.