forked from I2P_Developers/i2p.i2p
#1069: Replaced SimpleScheduler with SimpleTimer2 in a few places
This commit is contained in:
@@ -69,7 +69,7 @@ public final class ByteCache {
|
||||
/**
|
||||
* Get a cache responsible for objects of the given size.
|
||||
* Warning, if you store the result in a static field, the cleaners will
|
||||
* not operate after a restart on Android, as the old context's SimpleScheduler will have shut down.
|
||||
* not operate after a restart on Android, as the old context's SimpleTimer2 will have shut down.
|
||||
* TODO tie this to the context or clean up all calls.
|
||||
*
|
||||
* @param cacheSize how large we want the cache to grow
|
||||
|
@@ -14,7 +14,7 @@ import net.i2p.I2PAppContext;
|
||||
* they b0rk the timer).
|
||||
*
|
||||
* WARNING - Deprecated.
|
||||
* This is an inefficient mess. Use SimpleScheduler or SimpleTimer2 if possible.
|
||||
* This is an inefficient mess. Use SimpleTimer2 if possible.
|
||||
*/
|
||||
public class SimpleTimer {
|
||||
|
||||
|
Reference in New Issue
Block a user