Added removeHandler method.

This commit is contained in:
Adrian Tiberius 2015-08-05 18:24:40 +03:00
parent 6340cc47a4
commit a64d216537
2 changed files with 8 additions and 1 deletions

View File

@ -144,4 +144,9 @@ public class ServiceConnector {
}
}
public void removeHandler(ConnectorHandler handler) {
handlers.remove(handler);
}
}

View File

@ -54,7 +54,9 @@ public class Block {
/* Constructors */
public Block(byte[] rawData) {
logger.debug("new from [" + Hex.toHexString(rawData) + "]");
if (rawData != null) {
logger.debug("new from [" + Hex.toHexString(rawData) + "]");
}
this.rlpEncoded = rawData;
}