ws-axis-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nand...@apache.org
Subject svn commit: r682414 - /webservices/axis2/branches/java/1_4/modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java
Date Mon, 04 Aug 2008 14:59:40 GMT
Author: nandana
Date: Mon Aug  4 07:59:40 2008
New Revision: 682414

URL: http://svn.apache.org/viewvc?rev=682414&view=rev
Log:
AXIS2-3958 Applying Amila's patch

Modified:
    webservices/axis2/branches/java/1_4/modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java

Modified: webservices/axis2/branches/java/1_4/modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_4/modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java?rev=682414&r1=682413&r2=682414&view=diff
==============================================================================
--- webservices/axis2/branches/java/1_4/modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java
(original)
+++ webservices/axis2/branches/java/1_4/modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java
Mon Aug  4 07:59:40 2008
@@ -94,7 +94,7 @@
 
     private URL axis2Repository = null;
 
-    private HashMap allServices = new HashMap();
+    private Map allServices = new Hashtable();
     private HashMap allEndpoints = new HashMap();
 
     /**
@@ -819,7 +819,13 @@
 
     // To get all the services in the system
     public HashMap getServices() {
-        return allServices;
+        HashMap hashMap = new HashMap(this.allServices.size());
+        Object key;
+        for (Iterator iter = this.allServices.keySet().iterator(); iter.hasNext();){
+            key = iter.next();
+            hashMap.put(key, this.allServices.get(key));
+        }
+        return hashMap;
     }
 
     // The class loader which become the top most parent of all the modules and



Mime
View raw message