[MOBY-guts] biomoby commit
Martin Senger
senger at dev.open-bio.org
Tue Nov 21 13:04:15 UTC 2006
senger
Tue Nov 21 08:04:15 EST 2006
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/client
In directory dev.open-bio.org:/tmp/cvs-serv14563/src/main/org/biomoby/client
Modified Files:
CentralImpl.java
Log Message:
Added "Released-Date" tag to joMby jar files
moby-live/Java/src/main/org/biomoby/client CentralImpl.java,1.46,1.47
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/CentralImpl.java,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -r1.46 -r1.47
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/CentralImpl.java 2006/09/28 11:54:32 1.46
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/CentralImpl.java 2006/11/21 13:04:15 1.47
@@ -161,7 +161,7 @@
}
this.uri = namespace;
- cache = new Hashtable();
+ cache = new Hashtable<String,Object>();
useCache = true;
}
@@ -591,7 +591,7 @@
* that's why I have collect them in an interface.
*
*************************************************************************/
- private Hashtable cache; // this is the cache itself
+ private Hashtable<String,Object> cache; // this is the cache itself
private boolean useCache; // this signal that we are actually caching things
// not used here
@@ -678,13 +678,13 @@
* same name but belonging to different authorities. <p>
*
*************************************************************************/
- public Map getServiceNames()
+ public Map<String,String> getServiceNames()
throws MobyException {
String result = (String)doCall ("retrieveServiceNames",
new Object[] {});
// parse returned XML
- Map results = new TreeMap (getStringComparator());
+ Map<String,String> results = new TreeMap<String,String> (getStringComparator());
Document document = loadDocument (new ByteArrayInputStream (result.getBytes()));
NodeList list = document.getElementsByTagName ("serviceName");
for (int i = 0; i < list.getLength(); i++) {
More information about the MOBY-guts
mailing list