From 1e87d7b266c6619e06960d7c9f8b6fa57e47573c Mon Sep 17 00:00:00 2001 From: wilderrodrigues Date: Tue, 14 Oct 2014 15:25:50 +0200 Subject: [PATCH] Fixing checkstyle. Making local variable compatible with our checkstyle settings. --- .../router/VirtualNetworkApplianceManagerImpl.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java b/server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java index bbd316669af..29576bc657b 100644 --- a/server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java +++ b/server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java @@ -699,11 +699,11 @@ Configurable, StateListener { s_logger.debug("router.check.interval - " + _routerCheckInterval + " so not scheduling the redundant router checking thread"); } - final int _routerAlertsCheckInterval = RouterAlertsCheckInterval.value(); - if (_routerAlertsCheckInterval > 0) { - _checkExecutor.scheduleAtFixedRate(new CheckRouterAlertsTask(), _routerAlertsCheckInterval, _routerAlertsCheckInterval, TimeUnit.SECONDS); + final int routerAlertsCheckInterval = RouterAlertsCheckInterval.value(); + if (routerAlertsCheckInterval > 0) { + _checkExecutor.scheduleAtFixedRate(new CheckRouterAlertsTask(), routerAlertsCheckInterval, routerAlertsCheckInterval, TimeUnit.SECONDS); } else { - s_logger.debug("router.alerts.check.interval - " + _routerAlertsCheckInterval + " so not scheduling the router alerts checking thread"); + s_logger.debug("router.alerts.check.interval - " + routerAlertsCheckInterval + " so not scheduling the router alerts checking thread"); } return true;