activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clebertsuco...@apache.org
Subject [2/4] activemq-artemis git commit: Use END_OF_FRAME from base StompFrame
Date Mon, 13 Jul 2015 13:37:51 GMT
Use END_OF_FRAME from base StompFrame


Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/2f6d3dc0
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/2f6d3dc0
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/2f6d3dc0

Branch: refs/heads/master
Commit: 2f6d3dc064324902589c3592061fe556179b3b43
Parents: ebcf0c0
Author: Ville Skyttä <ville.skytta@iki.fi>
Authored: Fri Jul 10 12:19:18 2015 +0300
Committer: Ville Skyttä <ville.skytta@iki.fi>
Committed: Fri Jul 10 12:19:18 2015 +0300

----------------------------------------------------------------------
 .../apache/activemq/artemis/core/protocol/stomp/StompFrame.java    | 2 +-
 .../activemq/artemis/core/protocol/stomp/v11/StompFrameV11.java    | 2 --
 .../activemq/artemis/core/protocol/stomp/v12/StompFrameV12.java    | 2 --
 3 files changed, 1 insertion(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/2f6d3dc0/artemis-protocols/artemis-stomp-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/stomp/StompFrame.java
----------------------------------------------------------------------
diff --git a/artemis-protocols/artemis-stomp-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/stomp/StompFrame.java
b/artemis-protocols/artemis-stomp-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/stomp/StompFrame.java
index 84c485b..491c6a9 100644
--- a/artemis-protocols/artemis-stomp-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/stomp/StompFrame.java
+++ b/artemis-protocols/artemis-stomp-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/stomp/StompFrame.java
@@ -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;
 

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/2f6d3dc0/artemis-protocols/artemis-stomp-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/stomp/v11/StompFrameV11.java
----------------------------------------------------------------------
diff --git a/artemis-protocols/artemis-stomp-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/stomp/v11/StompFrameV11.java
b/artemis-protocols/artemis-stomp-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/stomp/v11/StompFrameV11.java
index b0e3137..991c9b7 100644
--- a/artemis-protocols/artemis-stomp-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/stomp/v11/StompFrameV11.java
+++ b/artemis-protocols/artemis-stomp-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/stomp/v11/StompFrameV11.java
@@ -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>();
 

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/2f6d3dc0/artemis-protocols/artemis-stomp-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/stomp/v12/StompFrameV12.java
----------------------------------------------------------------------
diff --git a/artemis-protocols/artemis-stomp-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/stomp/v12/StompFrameV12.java
b/artemis-protocols/artemis-stomp-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/stomp/v12/StompFrameV12.java
index c9dd728..67d021b 100644
--- a/artemis-protocols/artemis-stomp-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/stomp/v12/StompFrameV12.java
+++ b/artemis-protocols/artemis-stomp-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/stomp/v12/StompFrameV12.java
@@ -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>();
 


Mime
View raw message