Use END_OF_FRAME from base StompFrame

This commit is contained in:
Ville Skyttä 2015-07-10 12:19:18 +03:00
parent ebcf0c0080
commit 2f6d3dc064
3 changed files with 1 additions and 5 deletions

View File

@ -29,7 +29,7 @@ import org.apache.activemq.artemis.api.core.ActiveMQBuffers;
*/
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;

View File

@ -28,8 +28,6 @@ import org.apache.activemq.artemis.core.protocol.stomp.StompFrame;
public class StompFrameV11 extends StompFrame
{
private static final byte[] END_OF_FRAME = new byte[]{0, '\n'};
//stomp 1.1 talks about repetitive headers.
private final List<Header> allHeaders = new ArrayList<Header>();

View File

@ -28,8 +28,6 @@ import org.apache.activemq.artemis.core.protocol.stomp.StompFrame;
public class StompFrameV12 extends StompFrame
{
private static final byte[] END_OF_FRAME = new byte[]{0, '\n'};
//stomp 1.1 talks about repetitive headers.
private final List<Header> allHeaders = new ArrayList<Header>();