Netconf message related constants moved to one place.
[controller.git] / opendaylight / netconf / netconf-util / src / main / java / org / opendaylight / controller / netconf / util / handler / EOMFramingMechanismEncoder.java
index b8a933a011411fa8c46655682dfcac8790bfaa87..7ec5a8f8dcd6c7304b8e7f5edbf7d292acb70199 100644 (file)
@@ -8,7 +8,7 @@
 
 package org.opendaylight.controller.netconf.util.handler;
 
-import org.opendaylight.controller.netconf.util.messages.NetconfMessageFactory;
+import org.opendaylight.controller.netconf.util.messages.NetconfMessageConstants;
 
 import io.netty.buffer.ByteBuf;
 import io.netty.channel.ChannelHandlerContext;
@@ -16,7 +16,7 @@ import io.netty.handler.codec.MessageToByteEncoder;
 
 public class EOMFramingMechanismEncoder extends MessageToByteEncoder<ByteBuf> {
 
-    private byte[] eom = NetconfMessageFactory.endOfMessage;
+    private byte[] eom = NetconfMessageConstants.endOfMessage;
 
     @Override
     protected void encode(ChannelHandlerContext ctx, ByteBuf msg, ByteBuf out) throws Exception {