forked from I2P_Developers/i2p.i2p
SimpleTimer (ticket #653):
- Move all remaining uses to SimpleTimer2 - Deprecate
This commit is contained in:
@ -953,6 +953,7 @@ public class I2PAppContext {
|
||||
/**
|
||||
* Use instead of SimpleTimer.getInstance()
|
||||
* @since 0.9 to replace static instance in the class
|
||||
* @deprecated use SimpleTimer2
|
||||
*/
|
||||
public SimpleTimer simpleTimer() {
|
||||
if (!_simpleTimerInitialized)
|
||||
@ -960,6 +961,9 @@ public class I2PAppContext {
|
||||
return _simpleTimer;
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated use SimpleTimer2
|
||||
*/
|
||||
private void initializeSimpleTimer() {
|
||||
synchronized (_lock19) {
|
||||
if (_simpleTimer == null)
|
||||
|
Reference in New Issue
Block a user