Please don't use "Reply" from an existing Email thread and then change the 
"Subject" to start a totally new email thread. Some email readers will group 
your "new" email thread with the "old" email thread. Instead, use "New Message" 
and fill out the "To" field. 

Suggest you create a Jira for these issues...

--kevan

On Mar 30, 2010, at 7:23 AM, Andy Gumbrecht wrote:

> StatelessInstanceManager
> 
> long offset = ((long) (maxAge / min * i * maxAgeOffset)) % maxAge;
> 
> Quite often gets (for example):
> 
> ArithmeticException - 0 / 2 * 0  * -1.0
> 
> So I'd like to suggest:
> 
> long offset = (maxAge > 0 ? ((long) (maxAge / min * i * maxAgeOffset)) % 
> maxAge : 0L);
> 
> Which solves this problem.
> 
> Andy.

Reply via email to