This may break things, but accidentally passing a null runqueue that you think

is not null results in extremely nefarious race condition bugs that are best
nipped in the bud.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@2529 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
samskivert
2009-02-13 18:17:01 +00:00
parent 44e6f04ed1
commit da5ac674e4
@@ -70,6 +70,9 @@ public abstract class Interval
*/
public Interval (RunQueue runQueue)
{
if (runQueue == null) {
throw new IllegalArgumentException("Supplied RunQueue must be non-null");
}
_runQueue = runQueue;
}