fixup after prop; history for prop; -3

This commit is contained in:
zzz
2013-07-20 13:41:31 +00:00
parent a87fc68cfd
commit 29eb1d5dc5
5 changed files with 127 additions and 25 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 = 2;
public final static long BUILD = 3;
/** for example "-test" */
public final static String EXTRA = "";

View File

@@ -46,6 +46,7 @@ import net.i2p.util.Log;
import net.i2p.util.SimpleScheduler;
import net.i2p.util.SimpleTimer;
import net.i2p.util.SystemVersion;
import net.i2p.util.Translate;
/**
* Defines a way to send a message to another peer and start listening for messages

View File

@@ -1219,15 +1219,6 @@ public class NTCPTransport extends TransportImpl {
}
}
private static final String BUNDLE_NAME = "net.i2p.router.web.messages";
/**
* Translate
*/
private final String _(String s) {
return Translate.getString(s, _context, BUNDLE_NAME);
}
/**
* Cache the bid to reduce object churn
*/

View File

@@ -2780,21 +2780,6 @@ public class UDPTransport extends TransportImpl implements TimedWeightedPriority
}
}
private static final DecimalFormat _pctFmt = new DecimalFormat("#0.0%");
private static final String BUNDLE_NAME = "net.i2p.router.web.messages";
/**
* Translate
*/
private final String _(String s) {
return Translate.getString(s, _context, BUNDLE_NAME);
}
/**
* Translate
*/
private final String _(String s, Object o) {
return Translate.getString(s, o, _context, BUNDLE_NAME);
}
/*
* Cache the bid to reduce object churn