Make some STOMP fields final
This commit is contained in:
parent
5c4511b59f
commit
45d1601334
|
@ -21,7 +21,7 @@ import java.nio.charset.StandardCharsets;
|
||||||
|
|
||||||
public class SimpleBytes
|
public class SimpleBytes
|
||||||
{
|
{
|
||||||
private int step;
|
private final int step;
|
||||||
private byte[] contents;
|
private byte[] contents;
|
||||||
private int index;
|
private int index;
|
||||||
|
|
||||||
|
|
|
@ -92,7 +92,7 @@ public final class StompConnection implements RemotingConnection
|
||||||
|
|
||||||
private final Object sendLock = new Object();
|
private final Object sendLock = new Object();
|
||||||
|
|
||||||
private int minLargeMessageSize;
|
private final int minLargeMessageSize;
|
||||||
|
|
||||||
public StompFrame decode(ActiveMQBuffer buffer) throws ActiveMQStompException
|
public StompFrame decode(ActiveMQBuffer buffer) throws ActiveMQStompException
|
||||||
{
|
{
|
||||||
|
|
|
@ -29,7 +29,7 @@ public class StompProtocolManagerFactory extends AbstractProtocolManagerFactory<
|
||||||
|
|
||||||
private static final String MODULE_NAME = "artemis-stomp-protocol";
|
private static final String MODULE_NAME = "artemis-stomp-protocol";
|
||||||
|
|
||||||
private static String[] SUPPORTED_PROTOCOLS = {STOMP_PROTOCOL_NAME};
|
private static final String[] SUPPORTED_PROTOCOLS = {STOMP_PROTOCOL_NAME};
|
||||||
|
|
||||||
public ProtocolManager createProtocolManager(final ActiveMQServer server, final List<StompFrameInterceptor> incomingInterceptors, List<StompFrameInterceptor> outgoingInterceptors)
|
public ProtocolManager createProtocolManager(final ActiveMQServer server, final List<StompFrameInterceptor> incomingInterceptors, List<StompFrameInterceptor> outgoingInterceptors)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue