jeremias    2002/11/28 07:44:06

  Modified:    src/org/apache/fop/fo/pagination Tag: fop-0_20_2-maintain
                        ConditionalPageMasterReference.java
  Log:
  Make sure that a warning is shown when page-position="last" is used.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.5.2.6   +3 -3      
xml-fop/src/org/apache/fop/fo/pagination/ConditionalPageMasterReference.java
  
  Index: ConditionalPageMasterReference.java
  ===================================================================
  RCS file: 
/home/cvs/xml-fop/src/org/apache/fop/fo/pagination/ConditionalPageMasterReference.java,v
  retrieving revision 1.5.2.5
  retrieving revision 1.5.2.6
  diff -u -r1.5.2.5 -r1.5.2.6
  --- ConditionalPageMasterReference.java       19 Nov 2002 01:04:04 -0000      1.5.2.5
  +++ ConditionalPageMasterReference.java       28 Nov 2002 15:44:06 -0000      1.5.2.6
  @@ -77,7 +77,7 @@
                   return false;
               } else if (pagePosition==PagePosition.LAST) {
                   // how the hell do you know at this point?
  -                log.debug("LAST PagePosition NYI");
  +                log.warn("conditional-page-master-reference: page-position='last' 
is not yet implemented (NYI)");
                   return false;
               }
           } else {
  @@ -85,7 +85,7 @@
                   return false;
               } else if (pagePosition==PagePosition.LAST) {
                   // how the hell do you know at this point?
  -                log.debug("LAST PagePosition NYI");
  +                log.warn("conditional-page-master-reference: page-position='last' 
is not yet implemented (NYI)");
                   // potentially valid, don't return
               }
           }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to