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();