Replaces instances of getBytes() in apps classes

This commit is contained in:
z3r0fox
2015-12-20 02:11:42 +00:00
parent 2246e21340
commit b6bd497e52
24 changed files with 72 additions and 61 deletions

View File

@ -12,6 +12,7 @@ import net.i2p.client.I2PSession;
import net.i2p.client.streaming.I2PSocket;
import net.i2p.client.streaming.I2PServerSocket;
import net.i2p.client.streaming.I2PSocketManager;
import net.i2p.data.DataHelper;
import net.i2p.util.Log;
/**
@ -116,7 +117,7 @@ public class EchoIT extends StreamingITBase {
InputStream in = socket.getInputStream();
OutputStream out = socket.getOutputStream();
for (int i = 0; i < 3; i++) {
out.write("blah!".getBytes());
out.write(DataHelper.getASCII("blah!"));
_log.debug("client wrote a line");
out.flush();
_log.debug("client flushed");