forked from I2P_Developers/i2p.i2p
Tweaks after review
This commit is contained in:
@ -295,7 +295,7 @@ public class SimpleTimer2 {
|
||||
if (timeoutMs <= 0) {
|
||||
// streaming timers do call with timeoutMs == 0
|
||||
if (timeoutMs < 0 && _log.shouldLog(Log.WARN))
|
||||
_log.warn("Sched. timeout <= 0: " + this + " timeout = " + timeoutMs + " state: " + _state);
|
||||
_log.warn("Sched. timeout < 0: " + this + " timeout = " + timeoutMs + " state: " + _state);
|
||||
timeoutMs = 1; // otherwise we may execute before _future is updated, which is fine
|
||||
// except it triggers 'early execution' warning logging
|
||||
}
|
||||
|
@ -65,7 +65,7 @@ public abstract class Translate {
|
||||
* The {0} will be replaced by the parameter.
|
||||
* Single quotes must be doubled, i.e. ' -> '' in the string.
|
||||
* @param o parameter, not translated.
|
||||
* To tranlslate parameter also, use _t("foo {0} bar", _t("baz"))
|
||||
* To translate parameter also, use _t("foo {0} bar", _t("baz"))
|
||||
* Do not double the single quotes in the parameter.
|
||||
* Use autoboxing to call with ints, longs, floats, etc.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user