You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by gm...@apache.org on 2005/06/09 00:24:35 UTC

cvs commit: xml-fop/src/java/org/apache/fop/layoutmgr AbstractLayoutManager.java

gmazza      2005/06/08 15:24:35

  Modified:    src/java/org/apache/fop/layoutmgr AbstractLayoutManager.java
  Log:
  Multiple getWordChar() methods placed together.
  
  Revision  Changes    Path
  1.50      +7 -5      xml-fop/src/java/org/apache/fop/layoutmgr/AbstractLayoutManager.java
  
  Index: AbstractLayoutManager.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/layoutmgr/AbstractLayoutManager.java,v
  retrieving revision 1.49
  retrieving revision 1.50
  diff -u -r1.49 -r1.50
  --- AbstractLayoutManager.java	8 Jun 2005 22:06:32 -0000	1.49
  +++ AbstractLayoutManager.java	8 Jun 2005 22:24:34 -0000	1.50
  @@ -163,10 +163,6 @@
       }
   
   
  -    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 @@
           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!");
       }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org