[MOBY-guts] biomoby commit

Gary Schlitz gss at pub.open-bio.org
Thu Jul 29 23:37:59 UTC 2004


gss
Thu Jul 29 19:37:59 EDT 2004
Update of /home/repository/moby/moby-live/S-MOBY/ref-impl/semanticmoby.org/src/org/smoby/ref/tools
In directory pub.open-bio.org:/tmp/cvs-serv21026/src/org/smoby/ref/tools

Modified Files:
	DiscoveryQuery.java 
Log Message:
Use new graph structure

moby-live/S-MOBY/ref-impl/semanticmoby.org/src/org/smoby/ref/tools DiscoveryQuery.java,1.1,1.2
===================================================================
RCS file: /home/repository/moby/moby-live/S-MOBY/ref-impl/semanticmoby.org/src/org/smoby/ref/tools/DiscoveryQuery.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/moby-live/S-MOBY/ref-impl/semanticmoby.org/src/org/smoby/ref/tools/DiscoveryQuery.java	2004/07/15 20:27:13	1.1
+++ /home/repository/moby/moby-live/S-MOBY/ref-impl/semanticmoby.org/src/org/smoby/ref/tools/DiscoveryQuery.java	2004/07/29 23:37:59	1.2
@@ -8,7 +8,6 @@
 import org.smoby.ref.tools.db.*;
 import org.smoby.tools.Util;
 import org.smoby.graph.*;
-import org.smoby.graph.impl.*;
 import org.smoby.vocabulary.*;
 
 import com.hp.hpl.jena.db.*;
@@ -111,7 +110,7 @@
         Model dbModel = null;
 		try
 		{
-		    Model queryModel = ((MOBYProviderImpl) queryProvider).getUnderlying();
+		    Model queryModel = ((MOBYProvider) queryProvider).getUnderlying();
             String queryString = buildQueryString(queryModel);
             StorageManager manager = new StorageManager();
             dbModel = manager.openDBModel();
@@ -129,7 +128,7 @@
 			}
 			results.close();
 			
-			MOBYProviderSet returnSet = MOBYObjectFactory.newProviderSet();
+			MOBYProviderSet returnSet = new MOBYProviderSet();
 			
 			for (Iterator it = matching.iterator(); it.hasNext();)
 			{




More information about the MOBY-guts mailing list