summaryrefslogtreecommitdiff
path: root/Lib/java/java.swg
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/java/java.swg')
-rw-r--r--Lib/java/java.swg2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/java/java.swg b/Lib/java/java.swg
index 1c1a56e69..c35876534 100644
--- a/Lib/java/java.swg
+++ b/Lib/java/java.swg
@@ -1304,7 +1304,7 @@ SWIG_JAVABODY_PROXY(protected, protected, SWIGTYPE)
SWIG_JAVABODY_TYPEWRAPPER(protected, protected, protected, SWIGTYPE)
%typemap(javafinalize) SWIGTYPE %{
- @SuppressWarnings("deprecation")
+ @SuppressWarnings({"deprecation", "removal"})
protected void finalize() {
delete();
}