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/cli/src/java/org/apache/avalon/excalibur/cli Token.java
Date Tue, 19 Mar 2002 11:18:26 GMT
donaldp     02/03/19 03:18:26

  Modified:    cli/src/java/org/apache/avalon/excalibur/cli Token.java
  Log:
  Don't chain methods
  
  Revision  Changes    Path
  1.6       +5 -1      jakarta-avalon-excalibur/cli/src/java/org/apache/avalon/excalibur/cli/Token.java
  
  Index: Token.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/cli/src/java/org/apache/avalon/excalibur/cli/Token.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- Token.java	16 Mar 2002 00:04:27 -0000	1.5
  +++ Token.java	19 Mar 2002 11:18:26 -0000	1.6
  @@ -54,6 +54,10 @@
        */
       public final String toString()
       {
  -        return new StringBuffer().append( m_type ).append( ":" ).append( m_value ).toString();
  +        final StringBuffer sb = new StringBuffer();
  +        sb.append( m_type );
  +        sb.append( ":" );
  +        sb.append( m_value );
  +        return sb.toString();
       }
   }
  
  
  

--
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