Skip to content

Commit

Permalink
Update atom_t.java
Browse files Browse the repository at this point in the history
suppress deprecation/removal warnings with JDK18+
  • Loading branch information
anionic authored and JanWielemaker committed Nov 7, 2023
1 parent 67840b7 commit 9bb9c73
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/org/jpl7/fli/atom_t.java
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ public String toString() {
return Prolog.atom_chars(this);
}

@SuppressWarnings({"deprecation","removal"})
protected void finalize() throws Throwable {
super.finalize();
Prolog.unregister_atom(this);
Expand Down

0 comments on commit 9bb9c73

Please sign in to comment.