Author: dims Date: Mon Mar 3 07:14:54 2008 New Revision: 633120 URL: http://svn.apache.org/viewvc?rev=633120&view=rev Log: Fix for AXIS2-3543 - ServiceContext.activate never executes the else block
Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/context/ServiceContext.java Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/context/ServiceContext.java URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/context/ServiceContext.java?rev=633120&r1=633119&r2=633120&view=diff ============================================================================== --- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/context/ServiceContext.java (original) +++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/context/ServiceContext.java Mon Mar 3 07:14:54 2008 @@ -507,9 +507,7 @@ // properties are preserved for future operations String groupName = metaParent.getId(); - ServiceGroupContext existingSGC = null; - - ServiceGroupContext sgc = cc.getServiceGroupContext(groupName); + ServiceGroupContext existingSGC = cc.getServiceGroupContext(groupName); if (existingSGC == null) { // could not find an existing ServiceGroupContext --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]