[MOBY-guts] biomoby commit
Gary Schiltz
gss at pub.open-bio.org
Thu Nov 3 22:33:05 UTC 2005
gss
Thu Nov 3 17:33:05 EST 2005
Update of /home/repository/moby/s-moby/ref-impl/semanticmoby.org/src/org/semanticmoby/ref/servlets
In directory pub.open-bio.org:/tmp/cvs-serv22325/src/org/semanticmoby/ref/servlets
Modified Files:
KeywordSearchServlet.java
Log Message:
Removed unused imports
s-moby/ref-impl/semanticmoby.org/src/org/semanticmoby/ref/servlets KeywordSearchServlet.java,1.9,1.10
===================================================================
RCS file: /home/repository/moby/s-moby/ref-impl/semanticmoby.org/src/org/semanticmoby/ref/servlets/KeywordSearchServlet.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- /home/repository/moby/s-moby/ref-impl/semanticmoby.org/src/org/semanticmoby/ref/servlets/KeywordSearchServlet.java 2005/11/03 03:22:54 1.9
+++ /home/repository/moby/s-moby/ref-impl/semanticmoby.org/src/org/semanticmoby/ref/servlets/KeywordSearchServlet.java 2005/11/03 22:33:05 1.10
@@ -5,14 +5,11 @@
import org.semanticmoby.graph.*;
-import org.semanticmoby.ref.tools.*;
import org.semanticmoby.ref.tools.db.*;
import org.semanticmoby.ref.tools.db.DBConnection;
import org.semanticmoby.tools.Util;
-import org.semanticmoby.vocabulary.MOBY;
-
import java.io.*;
import java.sql.*;
@@ -54,7 +51,7 @@
sessionData =
(SessionData) request.getSession().getAttribute("sessionData");
- DBConnection db = new DBConnection();
+ DBConnection db = new DBConnection(getServletContext().getRealPath("/"));
StorageManager mgr = new StorageManager();
ModelRDB model = (ModelRDB) mgr.openDBModel();
@@ -84,11 +81,8 @@
String uri = result.getString(1);
row.add(uri);
- System.out.println(" ##### 1 #####");
MOBYResource resource = resourceAt(uri, model);
- System.out.println(" ##### 2 #####");
String name = resource.getName();
- System.out.println(" ##### 3 #####");
row.add(name);
String description = resource.getOneLineDescription();
More information about the MOBY-guts
mailing list