mvdb        2002/06/14 16:00:15

  Modified:    betwixt/src/java/org/apache/commons/betwixt/io
                        BeanWriter.java
               betwixt/xdocs todo.xml
  Log:
  \n is now the default line Ending.
  Also adjusted the todo.xml to reflect this.
  
  Revision  Changes    Path
  1.4       +2 -2      
jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/BeanWriter.java
  
  Index: BeanWriter.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/BeanWriter.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- BeanWriter.java   12 Jun 2002 21:40:06 -0000      1.3
  +++ BeanWriter.java   14 Jun 2002 23:00:15 -0000      1.4
  @@ -146,8 +146,8 @@
       private XMLIntrospector introspector = new XMLIntrospector();
       /** Where the output goes */
       private Writer writer;    
  -    /** text used for end of lines */
  -    private String endOfLine;
  +    /** text used for end of lines. Defaults to  */
  +    private String endOfLine = "\n";
       /** indentation text */
       private String indent;
       /** indentation level */
  
  
  
  1.8       +2 -1      jakarta-commons/betwixt/xdocs/todo.xml
  
  Index: todo.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/betwixt/xdocs/todo.xml,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- todo.xml  14 Jun 2002 21:39:16 -0000      1.7
  +++ todo.xml  14 Jun 2002 23:00:15 -0000      1.8
  @@ -42,7 +42,8 @@
       <section name="Medium priority"> 
         <ul>
           <li>
  -               BeabWriter should have a setEndOfLine() method to allow configurable 
EOL strings, defaulting to "\n"
  +               <b>Fixed</b> Was already there. Just added the \n as defeault<br/>
  +               BeanWriter should have a setEndOfLine() method to allow configurable 
EOL strings, defaulting to "\n"
                </li>
           <li>
                  Create a SAXWriter class in the io package that takes a bean and 
writes to a SAX ContentHandler
  
  
  

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

Reply via email to