From 20f78af0c947fad6fe491decfb6579cdfbd3628c Mon Sep 17 00:00:00 2001 From: Glen Mazza Date: Wed, 8 Jun 2005 22:24:34 +0000 Subject: [PATCH] Multiple getWordChar() methods placed together. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198722 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/fop/layoutmgr/AbstractLayoutManager.java | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/java/org/apache/fop/layoutmgr/AbstractLayoutManager.java b/src/java/org/apache/fop/layoutmgr/AbstractLayoutManager.java index 188eebc8b..c11914962 100644 --- a/src/java/org/apache/fop/layoutmgr/AbstractLayoutManager.java +++ b/src/java/org/apache/fop/layoutmgr/AbstractLayoutManager.java @@ -163,10 +163,6 @@ public abstract class AbstractLayoutManager implements LayoutManager, Constants } - public void getWordChars(StringBuffer sbChars, Position bp1, - Position bp2) { - } - /* --------------------------------------------------------- * PROVIDE NULL IMPLEMENTATIONS OF METHODS from LayoutManager * interface which are declared abstract in AbstractLayoutManager. @@ -184,10 +180,16 @@ public abstract class AbstractLayoutManager implements LayoutManager, Constants return element; } - public void getWordChars(StringBuffer sbChars, Position pos) { + public void getWordChars(StringBuffer sbChars, Position bp1, + Position bp2) { log.warn("null implementation of getWordChars() called!"); } + // This version is not in LayoutManager but is the only version being + // called within the application. + public void getWordChars(StringBuffer sbChars, Position pos) { + } + public void hyphenate(Position pos, HyphContext hc) { log.warn("null implementation of hyphenate called!"); } -- 2.39.5