From: Adrian Cumiskey Date: Wed, 5 Dec 2007 17:21:15 +0000 (+0000) Subject: Fixed checkstyle issues X-Git-Tag: fop-0_95beta~248 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=fa2c24c59c91ba1cf1dd2163387c801feee79390;p=xmlgraphics-fop.git Fixed checkstyle issues git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@601424 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/java/org/apache/fop/render/afp/extensions/AFPAttribute.java b/src/java/org/apache/fop/render/afp/extensions/AFPAttribute.java index 2b5666e26..665a77562 100755 --- a/src/java/org/apache/fop/render/afp/extensions/AFPAttribute.java +++ b/src/java/org/apache/fop/render/afp/extensions/AFPAttribute.java @@ -36,7 +36,7 @@ public class AFPAttribute extends StringProperty.Maker { /** * The attribute property. */ - private Property _property; + private Property property; /** * Constructor for the AFPAttribute. @@ -44,7 +44,7 @@ public class AFPAttribute extends StringProperty.Maker { */ protected AFPAttribute(String name) { super(0); - _property = null; + property = null; } /** @@ -53,10 +53,10 @@ public class AFPAttribute extends StringProperty.Maker { * @return property The property object. */ public Property make(PropertyList propertyList) { - if (_property == null) { - _property = make(propertyList, "", propertyList.getParentFObj()); + if (property == null) { + property = make(propertyList, "", propertyList.getParentFObj()); } - return _property; + return property; } } \ No newline at end of file diff --git a/src/java/org/apache/fop/render/afp/extensions/AFPElementMapping.java b/src/java/org/apache/fop/render/afp/extensions/AFPElementMapping.java index b58bff290..216379cc0 100755 --- a/src/java/org/apache/fop/render/afp/extensions/AFPElementMapping.java +++ b/src/java/org/apache/fop/render/afp/extensions/AFPElementMapping.java @@ -35,14 +35,19 @@ import org.apache.fop.fo.FONode; */ public class AFPElementMapping extends ElementMapping { + /** page element */ public static final String PAGE = "page"; + /** page group element */ public static final String PAGE_GROUP = "page-group"; + /** tag logical element */ public static final String TAG_LOGICAL_ELEMENT = "tag-logical-element"; + /** include page overlay element */ public static final String INCLUDE_PAGE_OVERLAY = "include-page-overlay"; + /** include page segment element */ public static final String INCLUDE_PAGE_SEGMENT = "include-page-segment"; /** NOP */ diff --git a/src/java/org/apache/fop/render/afp/extensions/AFPExtensionHandler.java b/src/java/org/apache/fop/render/afp/extensions/AFPExtensionHandler.java index 8318488bf..cc99295fb 100644 --- a/src/java/org/apache/fop/render/afp/extensions/AFPExtensionHandler.java +++ b/src/java/org/apache/fop/render/afp/extensions/AFPExtensionHandler.java @@ -114,8 +114,8 @@ public class AFPExtensionHandler extends DefaultHandler /** * {@inheritDoc} */ - public void setObjectBuiltListener(ObjectBuiltListener listener) { - this.listener = listener; + public void setObjectBuiltListener(ObjectBuiltListener listen) { + this.listener = listen; } }