You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by ak...@apache.org on 2004/09/16 17:08:29 UTC

svn commit: rev 46186 - incubator/directory/seda/trunk/src/java/org/apache/seda/decoder

Author: akarasulu
Date: Thu Sep 16 08:08:28 2004
New Revision: 46186

Modified:
   incubator/directory/seda/trunk/src/java/org/apache/seda/decoder/DefaultDecoderManager.java
Log:
Applying Trustin's patch for the bug I introduced last night.  More details 
for this are in the following JIRA bug:

http://issues.apache.org/jira/browse/DIRSEDA-7



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 Sep 16 08:08:28 2004
@@ -332,7 +332,7 @@
         {
             decoder = ( StatefulDecoder ) decoders.get( key );
 
-            if ( decoder == null )
+            while ( decoder == null )
             {
                 try
                 {
@@ -342,6 +342,8 @@
                 {
                     e.printStackTrace();
                 }
+
+                decoder = ( StatefulDecoder ) decoders.get( key );
             }
         }