This commit is contained in:
zzz
2012-12-17 14:52:02 +00:00
parent 264e27ab3f
commit 8b41956091
7 changed files with 15 additions and 12 deletions

View File

@@ -18,7 +18,7 @@ public class RouterVersion {
/** deprecated */
public final static String ID = "Monotone";
public final static String VERSION = CoreVersion.VERSION;
public final static long BUILD = 15;
public final static long BUILD = 0;
/** for example "-test" */
public final static String EXTRA = "";

View File

@@ -64,8 +64,7 @@ class OutboundMessageState implements CDPQEntry {
/**
* Called from UDPTransport
* TODO make two constructors, remove this, and make more things final
* @throws IAE if too big
* @throws IAE if too big or if msg or peer is null
*/
public OutboundMessageState(I2PAppContext context, I2NPMessage msg, PeerState peer) {
this(context, null, msg, peer);
@@ -73,17 +72,16 @@ class OutboundMessageState implements CDPQEntry {
/**
* Called from OutboundMessageFragments
* TODO make two constructors, remove this, and make more things final
* @throws IAE if too big
* @throws IAE if too big or if msg or peer is null
*/
public OutboundMessageState(I2PAppContext context, OutNetMessage m, PeerState peer) {
this(context, m, m.getMessage(), peer);
}
/**
* Called from OutboundMessageFragments
* Internal.
* @param m null if msg is "injected"
* @throws IAE if too big
* @throws IAE if too big or if msg or peer is null
*/
private OutboundMessageState(I2PAppContext context, OutNetMessage m, I2NPMessage msg, PeerState peer) {
if (msg == null || peer == null)