[MOBY-guts] biomoby commit

Paul Gordon gordonp at dev.open-bio.org
Wed Jun 10 15:20:52 UTC 2009


gordonp
Wed Jun 10 11:20:51 EDT 2009
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/client
In directory dev.open-bio.org:/tmp/cvs-serv30871/src/main/org/biomoby/client

Modified Files:
	CentralImpl.java 
Log Message:
Added Generics for service types
moby-live/Java/src/main/org/biomoby/client CentralImpl.java,1.60,1.61
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/CentralImpl.java,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -r1.60 -r1.61
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/CentralImpl.java	2008/12/03 12:22:21	1.60
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/CentralImpl.java	2009/06/10 15:20:51	1.61
@@ -870,10 +870,10 @@
      *  </serviceTypes>
      * </pre>
      *************************************************************************/
-    public Map getServiceTypes()
+    public Map<String,String> getServiceTypes()
 	throws MobyException {
 	String result = getServiceTypesAsXML();
- 	Map results = new TreeMap (getStringComparator());
+        Map<String,String> results = new TreeMap<String,String>(getStringComparator());
 	MobyServiceType[] types = createServiceTypesFromXML (result);
 	for (int i = 0; i < types.length; i++) {
 	    results.put (types[i].getName(),




More information about the MOBY-guts mailing list