From 7770de983d5558be289c974fe5b4adc868c5fa78 Mon Sep 17 00:00:00 2001 From: Glenn Adams Date: Sat, 3 Mar 2012 09:46:03 +0000 Subject: ensure checkstyle-5.1 remains error free after recent changes for checkstyle-5.5 rules git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1296590 13f79535-47bb-0310-9956-ffa450edef68 --- .../unicode/java/org/apache/fop/hyphenation/UnicodeClasses.java | 9 ++++++--- src/java/org/apache/fop/fo/FOEventHandler.java | 4 ++++ 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/codegen/unicode/java/org/apache/fop/hyphenation/UnicodeClasses.java b/src/codegen/unicode/java/org/apache/fop/hyphenation/UnicodeClasses.java index 14b1828af..728f91e48 100644 --- a/src/codegen/unicode/java/org/apache/fop/hyphenation/UnicodeClasses.java +++ b/src/codegen/unicode/java/org/apache/fop/hyphenation/UnicodeClasses.java @@ -148,14 +148,17 @@ public final class UnicodeClasses { } - /** - * The column numbers in the UCD file - */ + /** The 1st column in the UCD file. */ public static final int UNICODE = 0; + /** The 3rd column in the UCD file. */ public static final int GENERAL_CATEGORY = 2; + /** The 13th column in the UCD file. */ public static final int SIMPLE_UPPERCASE_MAPPING = 12; + /** The 14th column in the UCD file. */ public static final int SIMPLE_LOWERCASE_MAPPING = 13; + /** The 15th column in the UCD file. */ public static final int SIMPLE_TITLECASE_MAPPING = 14; + /** The number of columns in the UCD file. */ public static final int NUM_FIELDS = 15; /** diff --git a/src/java/org/apache/fop/fo/FOEventHandler.java b/src/java/org/apache/fop/fo/FOEventHandler.java index 33cc507c5..743708b72 100644 --- a/src/java/org/apache/fop/fo/FOEventHandler.java +++ b/src/java/org/apache/fop/fo/FOEventHandler.java @@ -558,6 +558,10 @@ public abstract class FOEventHandler { public void endExternalDocument(ExternalDocument document) { } + /** + * Get formatting results. + * @return the FormattingResults instance for this document + */ public FormattingResults getResults() { return null; } -- cgit v1.2.3