You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by se...@apache.org on 2004/02/19 00:07:36 UTC

cvs commit: jakarta-jmeter/src/protocol/http/org/apache/jmeter/protocol/http/util/accesslog TCLogParser.java

sebb        2004/02/18 15:07:36

  Modified:    src/protocol/http/org/apache/jmeter/protocol/http/util/accesslog
                        TCLogParser.java
  Log:
  Redundant comparison removed
  
  Revision  Changes    Path
  1.9       +4 -4      jakarta-jmeter/src/protocol/http/org/apache/jmeter/protocol/http/util/accesslog/TCLogParser.java
  
  Index: TCLogParser.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jmeter/src/protocol/http/org/apache/jmeter/protocol/http/util/accesslog/TCLogParser.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- TCLogParser.java	13 Feb 2004 03:46:14 -0000	1.8
  +++ TCLogParser.java	18 Feb 2004 23:07:36 -0000	1.9
  @@ -243,7 +243,7 @@
               }
               while (line != null)
               {
  -				if (line != null && line.length() > 0)
  +				if (line.length() > 0)
   				{
   					this.parseLine(line);
   				}
  @@ -518,7 +518,7 @@
           }
           if (value == null)
           {
  -            value = new String();
  +            value = "";
           }
           return new NVPair(name.trim(), value.trim());
       }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org