Fix checkstyle
This commit is contained in:
parent
8846947081
commit
c634539faa
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user