directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From trus...@apache.org
Subject svn commit: rev 56613 - in incubator/directory/seda/trunk/src/java/org/apache/seda: decoder encoder
Date Thu, 04 Nov 2004 17:15:19 GMT
Author: trustin
Date: Thu Nov  4 09:15:19 2004
New Revision: 56613

Modified:
   incubator/directory/seda/trunk/src/java/org/apache/seda/decoder/DefaultDecoderManager.java
   incubator/directory/seda/trunk/src/java/org/apache/seda/encoder/DefaultEncoderManager.java
Log:
Oops, fixed NPE for stateless client keys.

Modified: incubator/directory/seda/trunk/src/java/org/apache/seda/decoder/DefaultDecoderManager.java
==============================================================================
--- incubator/directory/seda/trunk/src/java/org/apache/seda/decoder/DefaultDecoderManager.java
(original)
+++ incubator/directory/seda/trunk/src/java/org/apache/seda/decoder/DefaultDecoderManager.java
Thu Nov  4 09:15:19 2004
@@ -229,7 +229,7 @@
 	        	}
 	        }
         } else {
-            decoder = (StatefulDecoder) decoders.get(key);
+			decoder = createClientDecoder(key);
         }
 
         return decoder;

Modified: incubator/directory/seda/trunk/src/java/org/apache/seda/encoder/DefaultEncoderManager.java
==============================================================================
--- incubator/directory/seda/trunk/src/java/org/apache/seda/encoder/DefaultEncoderManager.java
(original)
+++ incubator/directory/seda/trunk/src/java/org/apache/seda/encoder/DefaultEncoderManager.java
Thu Nov  4 09:15:19 2004
@@ -182,7 +182,7 @@
 	    		}
 	    	}
     	} else {
-			encoder = (StatefulEncoder) encoders.get(key);
+			encoder = createClientEncoder(key);
     	}
     	
         return encoder;

Mime
View raw message