You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by az...@apache.org on 2008/01/22 17:51:06 UTC
svn commit: r614254 -
/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/context/AbstractContext.java
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