[MOBY-guts] biomoby commit

Eddie Kawas kawas at dev.open-bio.org
Wed Feb 20 16:58:59 UTC 2008


kawas
Wed Feb 20 11:58:59 EST 2008
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/rdf/builder
In directory dev.open-bio.org:/tmp/cvs-serv17698/Java/src/main/org/biomoby/client/rdf/builder

Modified Files:
	ServiceInstanceRDF.java 
Log Message:

moby-live/Java/src/main/org/biomoby/client/rdf/builder ServiceInstanceRDF.java,1.36,1.37
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/rdf/builder/ServiceInstanceRDF.java,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -r1.36 -r1.37
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/rdf/builder/ServiceInstanceRDF.java	2008/02/15 08:20:50	1.36
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/rdf/builder/ServiceInstanceRDF.java	2008/02/20 16:58:59	1.37
@@ -44,7 +44,6 @@
  *         <p>
  *         email me at edward.kawas at gmail.com
  */
- at SuppressWarnings("unchecked")
 public class ServiceInstanceRDF {
 
     // some URIs
@@ -59,7 +58,7 @@
 	    + "  </rdf:Description>"
 	    + System.getProperty("line.separator") + "</rdf:RDF>";
 
-    private static Map URI_MAP = new HashMap();
+    private static Map<String,String> URI_MAP = new HashMap<String,String>();
 
     private static Log log = LogFactory.getLog(ServiceInstanceRDF.class);
 
@@ -265,7 +264,7 @@
 	    model = ModelFactory.createDefaultModel();
 	}
 	// set up the prefixes/namespaces
-	Map map = model.getNsPrefixMap();
+	Map<String,String> map = model.getNsPrefixMap();
 	map.put("mobyService", SRV);
 	map.put("mobyNamespace", NS);
 	map.put("mobyObject", OBJ);




More information about the MOBY-guts mailing list