diff --git a/core/java/src/net/i2p/I2PAppContext.java b/core/java/src/net/i2p/I2PAppContext.java index 5a031a823..f7e2d7699 100644 --- a/core/java/src/net/i2p/I2PAppContext.java +++ b/core/java/src/net/i2p/I2PAppContext.java @@ -939,7 +939,7 @@ public class I2PAppContext { /** * Use instead of SimpleScheduler.getInstance() * @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() { if (!_simpleSchedulerInitialized) @@ -948,7 +948,7 @@ public class I2PAppContext { } /** - * @deprecated in 0.9.19 + * @deprecated in 0.9.20 */ private void initializeSimpleScheduler() { synchronized (_lock18) { diff --git a/core/java/src/net/i2p/util/SimpleScheduler.java b/core/java/src/net/i2p/util/SimpleScheduler.java index 431536332..68408f418 100644 --- a/core/java/src/net/i2p/util/SimpleScheduler.java +++ b/core/java/src/net/i2p/util/SimpleScheduler.java @@ -24,6 +24,8 @@ import net.i2p.I2PAppContext; * For periodic events, use addPeriodicEvent(). Unlike SimpleTimer, * uncaught Exceptions will not prevent subsequent executions. * + * @deprecated in 0.9.20, use SimpleTimer2 instead + * * @author zzz */ public class SimpleScheduler {