ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-ant-myrmidon/framework/src/todo/org/apache/tools/todo/util PathTokenizer.java
Date Fri, 05 Jul 2002 03:40:08 GMT
donaldp     2002/07/04 20:40:08

  Modified:    framework/src/todo/org/apache/tools/todo/util
                        PathTokenizer.java
  Log:
  Remove redundent null assignment
  
  Revision  Changes    Path
  1.2       +2 -3      jakarta-ant-myrmidon/framework/src/todo/org/apache/tools/todo/util/PathTokenizer.java
  
  Index: PathTokenizer.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant-myrmidon/framework/src/todo/org/apache/tools/todo/util/PathTokenizer.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- PathTokenizer.java	14 Apr 2002 09:31:53 -0000	1.1
  +++ PathTokenizer.java	5 Jul 2002 03:40:08 -0000	1.2
  @@ -54,10 +54,9 @@
       public String next()
           throws NoSuchElementException
       {
  -        String token = null;
  -        if( m_lookahead != null )
  +        String token = m_lookahead;
  +        if( token != null )
           {
  -            token = m_lookahead;
               m_lookahead = null;
           }
           else
  
  
  

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


Mime
View raw message