Author: sebb
Date: Thu Mar 13 13:06:59 2008
New Revision: 636860
URL: http://svn.apache.org/viewvc?rev=636860&view=rev
Log:
Replace new String() with ""
Modified:
commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/telnet/TelnetClientFunctionalTest.java
Modified:
commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/telnet/TelnetClientFunctionalTest.java
URL:
http://svn.apache.org/viewvc/commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/telnet/TelnetClientFunctionalTest.java?rev=636860&r1=636859&r2=636860&view=diff
==============================================================================
---
commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/telnet/TelnetClientFunctionalTest.java
(original)
+++
commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/telnet/TelnetClientFunctionalTest.java
Thu Mar 13 13:06:59 2008
@@ -100,7 +100,7 @@
byte buffer[] = new byte[32];
long starttime = System.currentTimeMillis();
- String readbytes = new String();
+ String readbytes = "";
while((readbytes.indexOf(end) < 0) &&
((System.currentTimeMillis() - starttime) < timeout))
{