simplify code(and deduplicate)

This commit is contained in:
dev
2011-02-03 13:53:58 +00:00
parent 85d5a8542e
commit daac11d2d1

View File

@@ -45,8 +45,8 @@ public final class I2PDatagramMaker {
* @param session I2PSession used to send I2PDatagrams through
*/
public I2PDatagramMaker(I2PSession session) {
sxPrivKey = session.getPrivateKey();
sxDestBytes = session.getMyDestination().toByteArray();
this();
this.setI2PDatagramMaker(session);
}
/**
* Construct a new I2PDatagramMaker that is null.