avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/util StringUtil.java
Date Mon, 31 Dec 2001 21:36:50 GMT
donaldp     01/12/31 13:36:50

  Modified:    src/scratchpad/org/apache/avalon/excalibur/util
                        StringUtil.java
  Log:
  Constant for OSes LINE_SEPARATOR
  
  Revision  Changes    Path
  1.12      +6 -1      jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/util/StringUtil.java
  
  Index: StringUtil.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/util/StringUtil.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- StringUtil.java	11 Dec 2001 09:53:37 -0000	1.11
  +++ StringUtil.java	31 Dec 2001 21:36:50 -0000	1.12
  @@ -14,10 +14,15 @@
    * A set of utility operations that work on or create strings.
    *
    * @author <a href="mailto:peter@apache.org">Peter Donald</a>
  - * @version CVS $Revision: 1.11 $ $Date: 2001/12/11 09:53:37 $
  + * @version CVS $Revision: 1.12 $ $Date: 2001/12/31 21:36:50 $
    */
   public final class StringUtil
   {
  +    /**
  +     * the line separator for this OS
  +     */
  +    public final static String LINE_SEPARATOR = System.getProperty( "line.separator" );
  +
       private final static String  SPACE_16               = "                ";
       private final static String  SPACE_8                = "        ";
       private final static String  SPACE_4                = "    ";
  
  
  

--
To unsubscribe, e-mail:   <mailto:avalon-cvs-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-cvs-help@jakarta.apache.org>


Mime
View raw message