Mass replace CRLF->LF
[openflowjava.git] / openflow-protocol-impl / src / main / java / org / opendaylight / openflowjava / protocol / impl / serialization / match / AbstractOxmMacAddressSerializer.java
index 847a04091c0ef1500c79c69ce88fef436afcadcd..51b62df958af2c9bc86d08993b7f5ec9204aefe3 100644 (file)
@@ -1,29 +1,29 @@
-/*\r
- * Copyright (c) 2013 Pantheon Technologies s.r.o. and others.  All rights reserved.\r
- *\r
- * This program and the accompanying materials are made available under the\r
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
- * and is available at http://www.eclipse.org/legal/epl-v10.html\r
- */\r
-package org.opendaylight.openflowjava.protocol.impl.serialization.match;\r
-\r
-import io.netty.buffer.ByteBuf;\r
-\r
-import org.opendaylight.openflowjava.util.ByteBufUtils;\r
-import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.augments.rev131002.MacAddressMatchEntry;\r
-import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev130731.oxm.fields.grouping.MatchEntries;\r
-\r
-/**\r
- * Parent for MAC address based match entry serializers\r
- * @author michal.polkorab\r
- */\r
-public abstract class AbstractOxmMacAddressSerializer extends AbstractOxmMatchEntrySerializer {\r
-\r
-    @Override\r
-    public void serialize(MatchEntries entry, ByteBuf outBuffer) {\r
-        super.serialize(entry, outBuffer);\r
-        String macAddress = entry.getAugmentation(MacAddressMatchEntry.class).getMacAddress().getValue();\r
-        outBuffer.writeBytes(ByteBufUtils.macAddressToBytes(macAddress)); // 48 b + mask [OF 1.3.2 spec]\r
-        writeMask(entry, outBuffer, getValueLength());\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.serialization.match;
+
+import io.netty.buffer.ByteBuf;
+
+import org.opendaylight.openflowjava.util.ByteBufUtils;
+import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.augments.rev131002.MacAddressMatchEntry;
+import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev130731.oxm.fields.grouping.MatchEntries;
+
+/**
+ * Parent for MAC address based match entry serializers
+ * @author michal.polkorab
+ */
+public abstract class AbstractOxmMacAddressSerializer extends AbstractOxmMatchEntrySerializer {
+
+    @Override
+    public void serialize(MatchEntries entry, ByteBuf outBuffer) {
+        super.serialize(entry, outBuffer);
+        String macAddress = entry.getAugmentation(MacAddressMatchEntry.class).getMacAddress().getValue();
+        outBuffer.writeBytes(ByteBufUtils.macAddressToBytes(macAddress)); // 48 b + mask [OF 1.3.2 spec]
+        writeMask(entry, outBuffer, getValueLength());
+    }
+}