You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by el...@apache.org on 2013/05/12 00:55:36 UTC
[4/4] git commit: Made some constants static
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 <el...@apache.org>
Authored: Sun May 12 00:52:02 2013 +0200
Committer: Emmanuel Lécharny <el...@apache.org>
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.