You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by di...@apache.org on 2008/03/03 16:14:54 UTC

svn commit: r633120 - /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/context/ServiceContext.java

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: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org