I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit f6d38dd5 authored by jrandom's avatar jrandom Committed by zzz
Browse files

reduce SimpleDateFormat usage (implicit in Date.toString())

parent d51245aa
No related branches found
No related tags found
No related merge requests found
...@@ -86,7 +86,8 @@ public class DeliveryStatusMessage extends I2NPMessageImpl { ...@@ -86,7 +86,8 @@ public class DeliveryStatusMessage extends I2NPMessageImpl {
StringBuffer buf = new StringBuffer(); StringBuffer buf = new StringBuffer();
buf.append("[DeliveryStatusMessage: "); buf.append("[DeliveryStatusMessage: ");
buf.append("\n\tMessage ID: ").append(getMessageId()); buf.append("\n\tMessage ID: ").append(getMessageId());
buf.append("\n\tArrival: ").append(getArrival()); buf.append("\n\tArrival: ").append(_context.clock().now() - _arrival.getTime());
buf.append("ms in the past");
buf.append("]"); buf.append("]");
return buf.toString(); return buf.toString();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment