directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: rev 55763 - incubator/directory/ldap/trunk/common/src/java/org/apache/ldap/common/message
Date Thu, 28 Oct 2004 01:46:35 GMT
Author: akarasulu
Date: Wed Oct 27 18:46:35 2004
New Revision: 55763

Modified:
   incubator/directory/ldap/trunk/common/src/java/org/apache/ldap/common/message/LockableAttributesImpl.java
Log:
getting null pointers here

Modified: incubator/directory/ldap/trunk/common/src/java/org/apache/ldap/common/message/LockableAttributesImpl.java
==============================================================================
--- incubator/directory/ldap/trunk/common/src/java/org/apache/ldap/common/message/LockableAttributesImpl.java
(original)
+++ incubator/directory/ldap/trunk/common/src/java/org/apache/ldap/common/message/LockableAttributesImpl.java
Wed Oct 27 18:46:35 2004
@@ -87,7 +87,11 @@
 
         this.map.putAll( map );
         this.keyMap = new HashMap();
-        this.keyMap.putAll( keyMap );
+
+        if ( keyMap != null )
+        {
+            this.keyMap.putAll( keyMap );
+        }
     }
 
 

Mime
View raw message