Made some constants static Project: http://git-wip-us.apache.org/repos/asf/mina/repo Commit: http://git-wip-us.apache.org/repos/asf/mina/commit/aa89af17 Tree: http://git-wip-us.apache.org/repos/asf/mina/tree/aa89af17 Diff: http://git-wip-us.apache.org/repos/asf/mina/diff/aa89af17
Branch: refs/heads/trunk Commit: aa89af17bea27451674fa5849fe59479d6c130ea Parents: 57da994 Author: Emmanuel Lécharny <[email protected]> Authored: Sun May 12 00:52:02 2013 +0200 Committer: Emmanuel Lécharny <[email protected]> Committed: Sun May 12 00:52:02 2013 +0200 ---------------------------------------------------------------------- .../mina/filter/codec/ProtocolCodecFilter.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mina/blob/aa89af17/core/src/main/java/org/apache/mina/filter/codec/ProtocolCodecFilter.java ---------------------------------------------------------------------- diff --git a/core/src/main/java/org/apache/mina/filter/codec/ProtocolCodecFilter.java b/core/src/main/java/org/apache/mina/filter/codec/ProtocolCodecFilter.java index 8f07ed7..89243b2 100644 --- a/core/src/main/java/org/apache/mina/filter/codec/ProtocolCodecFilter.java +++ b/core/src/main/java/org/apache/mina/filter/codec/ProtocolCodecFilter.java @@ -50,10 +50,10 @@ public class ProtocolCodecFilter<MESSAGE, ENCODED, ENCODING_STATE, DECODING_STAT private final ProtocolDecoder<ENCODED, MESSAGE, DECODING_STATE> decoder; /** key for session attribute holding the encoder */ - private final AttributeKey<Object> ENCODER = new AttributeKey<Object>(Object.class, "internal_encoder"); + private static final AttributeKey<Object> ENCODER = new AttributeKey<Object>(Object.class, "internal_encoder"); /** key for session attribute holding the decoder */ - private final AttributeKey<Object> DECODER = new AttributeKey<Object>(Object.class, "internal_decoder"); + private static final AttributeKey<Object> DECODER = new AttributeKey<Object>(Object.class, "internal_decoder"); /** * Creates a new instance of ProtocolCodecFilter, with the specified encoder and decoder.
