forked from I2P_Developers/i2p.i2p
debug log tweak
This commit is contained in:
@@ -119,13 +119,12 @@ public class Payload extends DataStructureImpl {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
if (true) return "[Payload]";
|
||||
StringBuilder buf = new StringBuilder(128);
|
||||
StringBuilder buf = new StringBuilder(32);
|
||||
buf.append("[Payload: ");
|
||||
if (_unencryptedData != null)
|
||||
buf.append("\n\tData: ").append(DataHelper.toString(_unencryptedData, 16));
|
||||
if (_encryptedData != null)
|
||||
buf.append(_encryptedData.length).append(" bytes");
|
||||
else
|
||||
buf.append("\n\tData: *encrypted* = [").append(DataHelper.toString(_encryptedData, 16)).append("]");
|
||||
buf.append("null");
|
||||
buf.append("]");
|
||||
return buf.toString();
|
||||
}
|
||||
|
Reference in New Issue
Block a user