netty/netty — pull request #1653 by fredericBregier (2013-07-25 13:20:41+00:00)
Title: Fix for first issue from #1652 on computation of time to wait in Abstrac...

Fix for first issue from #1652 on computation of time to wait in AbstractTrafficShapingHandler for Netty 4, using the same formula than in Netty 3 (wrong place for parenthese).
Was:

(bytes * 1000 / limit - interval / 10) * 10;

Becomes:

(bytes * 1000 / limit - interval) / 10 * 10;