aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Beeker <kiwiwings@apache.org>2020-12-26 09:09:17 +0000
committerAndreas Beeker <kiwiwings@apache.org>2020-12-26 09:09:17 +0000
commitb0830f9d941d6d1235fbe3a4194dfe8c0fb1ab26 (patch)
tree8fa7d6d3f9882ab57eeba730a23299a03f38330c
parentd121353f612c6efbcf156e166158f1d403e8697e (diff)
downloadpoi-b0830f9d941d6d1235fbe3a4194dfe8c0fb1ab26.tar.gz
poi-b0830f9d941d6d1235fbe3a4194dfe8c0fb1ab26.zip
Forbidden-apis fix - Graphics2D.finalize() is deprecated by Java14
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884813 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--src/ooxml/java/org/apache/poi/xslf/util/DummyGraphics2d.java12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/ooxml/java/org/apache/poi/xslf/util/DummyGraphics2d.java b/src/ooxml/java/org/apache/poi/xslf/util/DummyGraphics2d.java
index b3f158a334..db6e09abfb 100644
--- a/src/ooxml/java/org/apache/poi/xslf/util/DummyGraphics2d.java
+++ b/src/ooxml/java/org/apache/poi/xslf/util/DummyGraphics2d.java
@@ -800,18 +800,6 @@ public class DummyGraphics2d extends Graphics2D {
g2D.fillRoundRect( x, y, width, height, arcWidth, arcHeight );
}
- // FIXME: should be protected
- // FindBugs, category MALICIOUS_CODE, FI_PUBLIC_SHOULD_BE_PROTECTED
- // A class's finalize() method should have protected access, not public
- @Internal
- @Override
- public final void finalize() {
- log.println( "finalize():" );
- g2D.dispose();
- dispose();
- super.finalize();
- }
-
public Shape getClip() {
log.println( "getClip():" );
return g2D.getClip();