Logs are added to identify the flows and groups being added in
[openflowplugin.git] / openflowplugin-impl / src / main / java / org / opendaylight / openflowplugin / impl / services / AbstractSilentErrorService.java
index aa3039978f804df726ed60156f8e89e0bcfa929e..727ccff8bb95e47682e7c4c8f4a7754c7d869cb4 100644 (file)
@@ -23,7 +23,9 @@ import org.opendaylight.yangtools.yang.common.RpcResultBuilder;
 public abstract class AbstractSilentErrorService<I, O extends DataObject>
         extends AbstractSimpleService<I, O> {
 
-    protected AbstractSilentErrorService(RequestContextStack requestContextStack, DeviceContext deviceContext, Class<O> clazz) {
+    protected AbstractSilentErrorService(RequestContextStack requestContextStack,
+                                         DeviceContext deviceContext,
+                                         Class<O> clazz) {
         super(requestContextStack, deviceContext, clazz);
     }
 
@@ -31,9 +33,8 @@ public abstract class AbstractSilentErrorService<I, O extends DataObject>
     public ListenableFuture<RpcResult<O>> handleServiceCall(@Nonnull I input,
                                                             @Nullable final Function<OfHeader, Boolean> isComplete) {
         return Futures.catching(
-                super.handleServiceCall(input, isComplete),
-                Throwable.class,
-                t -> RpcResultBuilder.<O>failed().build());
+            super.handleServiceCall(input, isComplete),
+            Throwable.class,
+            t -> RpcResultBuilder.<O>failed().build());
     }
-
 }