propagate from branch 'i2p.i2p' (head cbfe85d22c4d0b05c901db3fa751b57889d9b2d6)

to branch 'i2p.i2p.str4d.cleanup' (head 94fe1764f50b459da18222434034ad46d604c7a1)
This commit is contained in:
str4d
2013-11-28 11:12:41 +00:00
22 changed files with 35 additions and 79 deletions

View File

@@ -70,8 +70,7 @@ public class TCPtoI2P implements Runnable {
* @throws IOException
*/
private static String lnRead(InputStream in) throws IOException {
String S = "";
StringBuilder builder = new StringBuilder();
StringBuilder builder = new StringBuilder();
int b;
char c;
@@ -86,7 +85,7 @@ public class TCPtoI2P implements Runnable {
break;
}
c = (char) (b & 0x7f); // We only care about ASCII
builder.append(c);
builder.append(c);
}
return builder.toString();
}