aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop
diff options
context:
space:
mode:
authorAndreas L. Delmelle <adelmelle@apache.org>2016-01-02 19:58:37 +0000
committerAndreas L. Delmelle <adelmelle@apache.org>2016-01-02 19:58:37 +0000
commit06764b0ba307cc3617c034d0be656a1a26c8f3f9 (patch)
tree4e89e33b85b64c50212719a2eb5d173e55d4a6fa /src/java/org/apache/fop
parenta35d7a7c5ed5637fdb14339a93361cce442aef88 (diff)
downloadxmlgraphics-fop-06764b0ba307cc3617c034d0be656a1a26c8f3f9.tar.gz
xmlgraphics-fop-06764b0ba307cc3617c034d0be656a1a26c8f3f9.zip
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
Diffstat (limited to 'src/java/org/apache/fop')
-rw-r--r--src/java/org/apache/fop/fo/flow/AbstractGraphics.java10
1 files changed, 1 insertions, 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;