Make some STOMP fields final

This commit is contained in:
Ville Skyttä 2015-07-20 10:32:56 +03:00 committed by Clebert Suconic
parent 5c4511b59f
commit 45d1601334
3 changed files with 3 additions and 3 deletions

View File

@ -21,7 +21,7 @@ import java.nio.charset.StandardCharsets;
public class SimpleBytes
{
private int step;
private final int step;
private byte[] contents;
private int index;

View File

@ -92,7 +92,7 @@ public final class StompConnection implements RemotingConnection
private final Object sendLock = new Object();
private int minLargeMessageSize;
private final int minLargeMessageSize;
public StompFrame decode(ActiveMQBuffer buffer) throws ActiveMQStompException
{

View File

@ -29,7 +29,7 @@ public class StompProtocolManagerFactory extends AbstractProtocolManagerFactory<
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)
{