[MOBY-guts] biomoby commit

Eddie Kawas kawas at pub.open-bio.org
Wed Feb 2 16:49:18 UTC 2005


kawas
Wed Feb  2 11:49:17 EST 2005
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/gui/objectCreationTool
In directory pub.open-bio.org:/tmp/cvs-serv20735/org/biomoby/client/gui/objectCreationTool

Modified Files:
	Construct.java 
Log Message:
Changed the declaration that creates an empty rdf model. Hopefully helps get rid of the logging issues.

moby-live/Java/src/main/org/biomoby/client/gui/objectCreationTool Construct.java,1.1,1.2
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/gui/objectCreationTool/Construct.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/gui/objectCreationTool/Construct.java	2004/09/27 22:15:13	1.1
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/gui/objectCreationTool/Construct.java	2005/02/02 16:49:17	1.2
@@ -8,6 +8,7 @@
 
 import com.hp.hpl.jena.mem.ModelMem;
 import com.hp.hpl.jena.rdf.model.Model;
+import com.hp.hpl.jena.rdf.model.ModelFactory;
 import com.hp.hpl.jena.rdf.model.Statement;
 import com.hp.hpl.jena.rdf.model.StmtIterator;
 
@@ -52,7 +53,7 @@
 		HashMap homes = new HashMap(); // (key=parent,val=household)
 		try {
 			// create an empty model
-			Model model = new ModelMem();
+			Model model = ModelFactory.createDefaultModel();
 
 			InputStream in =
 				new URL(url)




More information about the MOBY-guts mailing list