From 06764b0ba307cc3617c034d0be656a1a26c8f3f9 Mon Sep 17 00:00:00 2001 From: "Andreas L. Delmelle" Date: Sat, 2 Jan 2016 19:58:37 +0000 Subject: [PATCH] Minor fixup: Use superclass implementation and avoid duplicate instance member git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1722659 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/fop/fo/flow/AbstractGraphics.java | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/java/org/apache/fop/fo/flow/AbstractGraphics.java b/src/java/org/apache/fop/fo/flow/AbstractGraphics.java index 34bf83fb4..9f56abb43 100644 --- a/src/java/org/apache/fop/fo/flow/AbstractGraphics.java +++ b/src/java/org/apache/fop/fo/flow/AbstractGraphics.java @@ -61,7 +61,6 @@ public abstract class AbstractGraphics extends FObj private int displayAlign; private int dominantBaseline; private Length height; - private String id; private LengthRangeProperty inlineProgressionDimension; private KeepProperty keepWithNext; private KeepProperty keepWithPrevious; @@ -92,6 +91,7 @@ public abstract class AbstractGraphics extends FObj /** {@inheritDoc} */ public void bind(PropertyList pList) throws FOPException { + super.bind(pList); commonAccessibility = CommonAccessibility.getInstance(pList); commonBorderPaddingBackground = pList.getBorderPaddingBackgroundProps(); alignmentAdjust = pList.get(PR_ALIGNMENT_ADJUST).getLength(); @@ -104,7 +104,6 @@ public abstract class AbstractGraphics extends FObj displayAlign = pList.get(PR_DISPLAY_ALIGN).getEnum(); dominantBaseline = pList.get(PR_DOMINANT_BASELINE).getEnum(); height = pList.get(PR_HEIGHT).getLength(); - id = pList.get(PR_ID).getString(); inlineProgressionDimension = pList.get(PR_INLINE_PROGRESSION_DIMENSION).getLengthRange(); keepWithNext = pList.get(PR_KEEP_WITH_NEXT).getKeep(); keepWithPrevious = pList.get(PR_KEEP_WITH_PREVIOUS).getKeep(); @@ -126,13 +125,6 @@ public abstract class AbstractGraphics extends FObj return commonAccessibility; } - /** - * @return the "id" property. - */ - public String getId() { - return id; - } - /** @return the {@link CommonBorderPaddingBackground} */ public CommonBorderPaddingBackground getCommonBorderPaddingBackground() { return commonBorderPaddingBackground; -- 2.39.5