diff --git a/src/main/java/org/jpl7/fli/atom_t.java b/src/main/java/org/jpl7/fli/atom_t.java index 4ddb8b4..c03b6f8 100644 --- a/src/main/java/org/jpl7/fli/atom_t.java +++ b/src/main/java/org/jpl7/fli/atom_t.java @@ -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);