axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From az...@apache.org
Subject svn commit: r614254 - /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/context/AbstractContext.java
Date Tue, 22 Jan 2008 16:51:06 GMT
Author: azeez
Date: Tue Jan 22 08:51:01 2008
New Revision: 614254

URL: http://svn.apache.org/viewvc?rev=614254&view=rev
Log:
Handle NULL property scenario when removing props


Modified:
    webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/context/AbstractContext.java

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/context/AbstractContext.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/context/AbstractContext.java?rev=614254&r1=614253&r2=614254&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/context/AbstractContext.java
(original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/context/AbstractContext.java
Tue Jan 22 08:51:01 2008
@@ -231,6 +231,9 @@
      * @param key
      */
     public synchronized void removeProperty(String key) {
+        if(properties == null){
+            return;
+        }
         Object value = properties.get(key);
         if (value != null) {
             if (properties != null) {



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message