Fix checkstyle
[openflowplugin.git] / applications / forwardingrules-sync / src / main / java / org / opendaylight / openflowplugin / applications / frsync / impl / SyncReactorClusterDecorator.java
index 53f8dfe94231e811a7354b28647de822d2ca6a25..ba590e51993e9dbde6305c7d9d079485eb11ba90 100644 (file)
@@ -1,11 +1,10 @@
-/**
+/*
  * Copyright (c) 2016 Cisco Systems, Inc. and others. All rights reserved.
  *
  * This program and the accompanying materials are made available under the
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
  * and is available at http://www.eclipse.org/legal/epl-v10.html
  */
-
 package org.opendaylight.openflowplugin.applications.frsync.impl;
 
 import com.google.common.util.concurrent.Futures;
@@ -24,6 +23,7 @@ import org.slf4j.LoggerFactory;
  * Decorator for cluster related issues.
  */
 public class SyncReactorClusterDecorator implements SyncReactor {
+
     private static final Logger LOG = LoggerFactory.getLogger(SyncReactorClusterDecorator.class);
     private final SyncReactor delegate;
     private final DeviceMastershipManager deviceMastershipManager;
@@ -36,7 +36,7 @@ public class SyncReactorClusterDecorator implements SyncReactor {
 
     @Override
     public ListenableFuture<Boolean> syncup(final InstanceIdentifier<FlowCapableNode> flowcapableNodePath,
-                                            final SyncupEntry syncupEntry) throws InterruptedException {
+                                            final SyncupEntry syncupEntry) {
         final NodeId nodeId = PathUtil.digNodeId(flowcapableNodePath);
         if (!deviceMastershipManager.isDeviceMastered(nodeId)) {
             LOG.debug("Skip syncup since not master for: {}", nodeId.getValue());