Use END_OF_FRAME from base StompFrame
This commit is contained in:
parent
ebcf0c0080
commit
2f6d3dc064
|
@ -29,7 +29,7 @@ import org.apache.activemq.artemis.api.core.ActiveMQBuffers;
|
||||||
*/
|
*/
|
||||||
public class StompFrame
|
public class StompFrame
|
||||||
{
|
{
|
||||||
private static final byte[] END_OF_FRAME = new byte[]{0, '\n'};
|
protected static final byte[] END_OF_FRAME = new byte[]{0, '\n'};
|
||||||
|
|
||||||
protected final String command;
|
protected final String command;
|
||||||
|
|
||||||
|
|
|
@ -28,8 +28,6 @@ import org.apache.activemq.artemis.core.protocol.stomp.StompFrame;
|
||||||
|
|
||||||
public class StompFrameV11 extends StompFrame
|
public class StompFrameV11 extends StompFrame
|
||||||
{
|
{
|
||||||
private static final byte[] END_OF_FRAME = new byte[]{0, '\n'};
|
|
||||||
|
|
||||||
//stomp 1.1 talks about repetitive headers.
|
//stomp 1.1 talks about repetitive headers.
|
||||||
private final List<Header> allHeaders = new ArrayList<Header>();
|
private final List<Header> allHeaders = new ArrayList<Header>();
|
||||||
|
|
||||||
|
|
|
@ -28,8 +28,6 @@ import org.apache.activemq.artemis.core.protocol.stomp.StompFrame;
|
||||||
|
|
||||||
public class StompFrameV12 extends StompFrame
|
public class StompFrameV12 extends StompFrame
|
||||||
{
|
{
|
||||||
private static final byte[] END_OF_FRAME = new byte[]{0, '\n'};
|
|
||||||
|
|
||||||
//stomp 1.1 talks about repetitive headers.
|
//stomp 1.1 talks about repetitive headers.
|
||||||
private final List<Header> allHeaders = new ArrayList<Header>();
|
private final List<Header> allHeaders = new ArrayList<Header>();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue