Fixing checkstyle.

Making local variable compatible with our checkstyle settings.


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/1e87d7b2
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/1e87d7b2
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/1e87d7b2

Branch: refs/heads/master
Commit: 1e87d7b266c6619e06960d7c9f8b6fa57e47573c
Parents: 2ed64b2
Author: wilderrodrigues <wrodrig...@schubergphilis.com>
Authored: Tue Oct 14 15:25:50 2014 +0200
Committer: wilderrodrigues <wrodrig...@schubergphilis.com>
Committed: Tue Oct 14 15:25:50 2014 +0200

----------------------------------------------------------------------
 .../network/router/VirtualNetworkApplianceManagerImpl.java   | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/1e87d7b2/server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
----------------------------------------------------------------------
diff --git 
a/server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java 
b/server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
index bbd3166..29576bc 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<State, VirtualMachine.Event, 
VirtualMachine> {
             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;

Reply via email to