Documentation bug: Timer and Timer Task
beagles Member Brent EaglesOrganization: Eagles Technologies IncProject: Asterisk SCF ✭✭✭
in Bug Reports
The current Timer and TimerTask documentation in the Ice Manual contains some errors with respect to the current version of Ice (3.4.2).
- The fourth and fifth paragraphs from the bottom are incorrect with respect to once-only tasks. The code appears to treat once-only tasks in a manner similar to repeated tasks; calling cancel() on a once-only task does indeed prevent it from executing and will return true if it succeeds in doing so.
- The last paragraph indicates that calling schedule or scheduleRepeated on a destroyed timer does nothing, yet both these functions throw an IllegalArgumentException if this occurs.