Fix checkstyle

This commit is contained in:
Frédéric Brégier 2012-05-20 18:20:21 +03:00
parent 8846947081
commit c634539faa

View File

@ -245,7 +245,7 @@ public class TrafficCounter {
* @param newcheckInterval * @param newcheckInterval
*/ */
public void configure(long newcheckInterval) { public void configure(long newcheckInterval) {
long newInterval = (newcheckInterval/10)*10; long newInterval = (newcheckInterval / 10) * 10;
if (checkInterval.get() != newInterval) { if (checkInterval.get() != newInterval) {
checkInterval.set(newInterval); checkInterval.set(newInterval);
if (newInterval <= 0) { if (newInterval <= 0) {