directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: rev 22827 - incubator/directory/snickers/trunk/codec-stateful/src/java/org/apache/commons/codec/stateful
Date Mon, 12 Jul 2004 05:21:43 GMT
Author: akarasulu
Date: Sun Jul 11 22:21:42 2004
New Revision: 22827

Modified:
   incubator/directory/snickers/trunk/codec-stateful/src/java/org/apache/commons/codec/stateful/AbstractStatefulEncoder.java
Log:
fixing null pointer exception

Modified: incubator/directory/snickers/trunk/codec-stateful/src/java/org/apache/commons/codec/stateful/AbstractStatefulEncoder.java
==============================================================================
--- incubator/directory/snickers/trunk/codec-stateful/src/java/org/apache/commons/codec/stateful/AbstractStatefulEncoder.java
(original)
+++ incubator/directory/snickers/trunk/codec-stateful/src/java/org/apache/commons/codec/stateful/AbstractStatefulEncoder.java
Sun Jul 11 22:21:42 2004
@@ -94,7 +94,11 @@
     {
         EncoderCallback old = this.cb ;
         this.cb = cb ;
-        this.monitor.callbackSet( this, old, cb );
+
+        if ( this.monitor != null )
+        {
+            this.monitor.callbackSet( this, old, cb );
+        }
     }
     
 

Mime
View raw message