overload session.pause() to accept Long

If you're pause period is coming from a session variable this is a pain. even if you declare a long before and set that as the session var it seems it's boxing it to a Long. This causes inline eval errors from beanshell.

this can be gotten around using the longValue method but it confused the hell out of me for a long time and I'm sure I won't be the last...

Sorry I haven't checked in

Sorry I haven't checked in here for a while...

the code to reproduce it:

long time = 1000l;
session.setVariable("PAUSE_TIME",time);
session.pause(session.getVariable("PAUSE_TIME"));

If you use:

session.pause(session.getVariable("PAUSE_TIME").longValue());

it's ok... But it's a bugger to figure that out when you're just starting out...

shadders, Could you provide

shadders,

Could you provide an example or two?

-Scott