Fixed netty & checkstyle failures
[openflowjava.git] / openflow-protocol-impl / src / main / java / org / opendaylight / openflowjava / protocol / impl / core / TcpConnectionInitializer.java
index c5905d60800f0908297a21442a6016a2d2230a22..d0a2fc63578fb79bbba2886c0f190a1bbb2aa98d 100644 (file)
@@ -1,3 +1,11 @@
+/*
+ * Copyright (c) 2015 Pantheon Technologies s.r.o. 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.openflowjava.protocol.impl.core;
 
 import io.netty.bootstrap.Bootstrap;
@@ -20,7 +28,7 @@ import com.google.common.util.concurrent.SettableFuture;
 public class TcpConnectionInitializer implements ServerFacade,
         ConnectionInitializer {
 
-    private static final Logger LOGGER = LoggerFactory
+    private static final Logger LOG = LoggerFactory
             .getLogger(TcpConnectionInitializer.class);
     private EventLoopGroup workerGroup;
     private ThreadConfiguration threadConfig;
@@ -73,7 +81,7 @@ public class TcpConnectionInitializer implements ServerFacade,
         try {
             b.connect(host, port).sync();
         } catch (InterruptedException e) {
-            LOGGER.error("Unable to initiate connection", e);
+            LOG.error("Unable to initiate connection", e);
         }
     }