This commit is contained in:
zzz
2015-04-16 14:18:10 +00:00
parent 12fd585625
commit 6e451c8d4d
2 changed files with 4 additions and 2 deletions

View File

@ -939,7 +939,7 @@ public class I2PAppContext {
/** /**
* Use instead of SimpleScheduler.getInstance() * Use instead of SimpleScheduler.getInstance()
* @since 0.9 to replace static instance in the class * @since 0.9 to replace static instance in the class
* @deprecated in 0.9.19 * @deprecated in 0.9.20, use simpleTimer2()
*/ */
public SimpleScheduler simpleScheduler() { public SimpleScheduler simpleScheduler() {
if (!_simpleSchedulerInitialized) if (!_simpleSchedulerInitialized)
@ -948,7 +948,7 @@ public class I2PAppContext {
} }
/** /**
* @deprecated in 0.9.19 * @deprecated in 0.9.20
*/ */
private void initializeSimpleScheduler() { private void initializeSimpleScheduler() {
synchronized (_lock18) { synchronized (_lock18) {

View File

@ -24,6 +24,8 @@ import net.i2p.I2PAppContext;
* For periodic events, use addPeriodicEvent(). Unlike SimpleTimer, * For periodic events, use addPeriodicEvent(). Unlike SimpleTimer,
* uncaught Exceptions will not prevent subsequent executions. * uncaught Exceptions will not prevent subsequent executions.
* *
* @deprecated in 0.9.20, use SimpleTimer2 instead
*
* @author zzz * @author zzz
*/ */
public class SimpleScheduler { public class SimpleScheduler {