Copyright update
[openflowjava.git] / openflow-protocol-impl / src / test / java / org / opendaylight / openflowjava / protocol / impl / core / DummyDecoder.java
index 73d5c235c0d6493cfb915e276f20258439ea640d..d22196a92e007dcc08a493cf4bdcc8c4fce0198a 100644 (file)
@@ -1,29 +1,36 @@
-/* Copyright (C)2013 Pantheon Technologies, s.r.o. All rights reserved. */\r
-package org.opendaylight.openflowjava.protocol.impl.core;\r
-\r
-import io.netty.buffer.ByteBuf;\r
-import io.netty.channel.ChannelHandlerContext;\r
-import io.netty.handler.codec.ByteToMessageDecoder;\r
-\r
-import java.util.List;\r
-\r
-import org.slf4j.Logger;\r
-import org.slf4j.LoggerFactory;\r
-\r
-/**\r
- * @author michal.polkorab\r
- *\r
- */\r
-public class DummyDecoder extends ByteToMessageDecoder {\r
-\r
-    private static final Logger LOGGER = LoggerFactory\r
-            .getLogger(DummyDecoder.class);\r
-    \r
-    @Override\r
-    protected void decode(ChannelHandlerContext ctx, ByteBuf in,\r
-            List<Object> out) throws Exception {\r
-        LOGGER.debug("decoding");\r
-        ctx.fireChannelReadComplete();\r
-    }\r
-\r
-}\r
+/*
+ * Copyright (c) 2013 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.buffer.ByteBuf;
+import io.netty.channel.ChannelHandlerContext;
+import io.netty.handler.codec.ByteToMessageDecoder;
+
+import java.util.List;
+
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+/**
+ * @author michal.polkorab
+ *
+ */
+public class DummyDecoder extends ByteToMessageDecoder {
+
+    private static final Logger LOGGER = LoggerFactory
+            .getLogger(DummyDecoder.class);
+    
+    @Override
+    protected void decode(ChannelHandlerContext ctx, ByteBuf in,
+            List<Object> out) throws Exception {
+        LOGGER.debug("decoding");
+        ctx.fireChannelReadComplete();
+    }
+
+}