mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-10-23 08:42:58 +00:00
#1069: Deprecated SimpleScheduler and moved functionality into SimpleTimer2
This commit is contained in:
1 parent
4d8e577ffd
commit
facbe8f9a0
34 files changed
+149
-51
No files matched your search
@@ -939,6 +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
|
||||
*/
|
||||
public SimpleScheduler simpleScheduler() {
|
||||
if (!_simpleSchedulerInitialized)
|
||||
@@ -946,6 +947,9 @@ public class I2PAppContext {
|
||||
return _simpleScheduler;
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated in 0.9.19
|
||||
*/
|
||||
private void initializeSimpleScheduler() {
|
||||
synchronized (_lock18) {
|
||||
if (_simpleScheduler == null)
|
||||
|
||||
Reference in new issue
Block a user