From 75d4ce44d553ae0a84cb4b4787e3e25be4a9fdd7 Mon Sep 17 00:00:00 2001 From: Glenn Adams Date: Mon, 16 Sep 2013 15:42:35 +0000 Subject: [PATCH] FOP-2298: Java 5 is more strict than Java 6 about use of @Override on implementation of interface methods. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1523709 13f79535-47bb-0310-9956-ffa450edef68 --- .../fop/render/pdf/extensions/PDFExtensionAttachment.java | 1 - .../apache/fop/render/pdf/extensions/PDFExtensionHandler.java | 2 -- 2 files changed, 3 deletions(-) diff --git a/src/java/org/apache/fop/render/pdf/extensions/PDFExtensionAttachment.java b/src/java/org/apache/fop/render/pdf/extensions/PDFExtensionAttachment.java index 58664faa0..9ac858309 100644 --- a/src/java/org/apache/fop/render/pdf/extensions/PDFExtensionAttachment.java +++ b/src/java/org/apache/fop/render/pdf/extensions/PDFExtensionAttachment.java @@ -43,7 +43,6 @@ public abstract class PDFExtensionAttachment implements ExtensionAttachment, XML return PREFIX; } - @Override public String getCategory() { return CATEGORY; } diff --git a/src/java/org/apache/fop/render/pdf/extensions/PDFExtensionHandler.java b/src/java/org/apache/fop/render/pdf/extensions/PDFExtensionHandler.java index 2741e64f6..f14f1e7d6 100644 --- a/src/java/org/apache/fop/render/pdf/extensions/PDFExtensionHandler.java +++ b/src/java/org/apache/fop/render/pdf/extensions/PDFExtensionHandler.java @@ -147,12 +147,10 @@ public class PDFExtensionHandler extends DefaultHandler implements ContentHandle } } - @Override public Object getObject() { return returnedObject; } - @Override public void setObjectBuiltListener(ObjectBuiltListener listener) { this.listener = listener; } -- 2.39.5