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

Skip to content
Snippets Groups Projects
Commit 108039de authored by dg2-new's avatar dg2-new
Browse files

partial revert of 6df9f4e154d148867ee158cbe9e9acf3fb73d680

parent addd2e6d
No related branches found
No related tags found
No related merge requests found
......@@ -116,7 +116,7 @@ class ConnectionDataReceiver implements MessageOutputStream.DataReceiver {
* @param buf data to be sent - may be null
* @param off offset into the buffer to start writing from
* @param size how many bytes of the buffer to write (may be 0)
* @return the packet sent, or null if the connection died
* @return the packet sent
*/
public PacketLocal send(byte buf[], int off, int size) {
return send(buf, off, size, false);
......
......@@ -113,7 +113,7 @@ public class Clock implements Timestamper.UpdateListener {
/*
* @return the current delta from System.currentTimeMillis() in milliseconds
*/
public synchronized long getOffset() {
public long getOffset() {
return _offset;
}
......
......@@ -283,6 +283,7 @@ public class TunnelPoolSettings {
}
private static final boolean getBoolean(String str, boolean defaultValue) {
if (str == null) return defaultValue;
boolean v = Boolean.parseBoolean(str) ||
(str != null && "YES".equals(str.toUpperCase(Locale.US)));
return v;
......
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