[MOBY-guts] biomoby commit
Eddie Kawas
kawas at pub.open-bio.org
Thu Apr 7 20:58:59 UTC 2005
kawas
Thu Apr 7 16:58:59 EDT 2005
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/registry/definitions/types
In directory pub.open-bio.org:/tmp/cvs-serv4780/org/biomoby/registry/definitions/types
Modified Files:
JNamespaces.java JObjects.java JServices.java
Log Message:
fixed some lexical/etc errors that javac found.
moby-live/Java/src/main/org/biomoby/registry/definitions/types JNamespaces.java,1.1,1.2 JObjects.java,1.1,1.2 JServices.java,1.1,1.2
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/registry/definitions/types/JNamespaces.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/registry/definitions/types/JNamespaces.java 2005/04/07 16:42:27 1.1
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/registry/definitions/types/JNamespaces.java 2005/04/07 20:58:59 1.2
@@ -21,7 +21,7 @@
* <p>email me at edward.kawas at gmail.com
*/
public final class JNamespaces {
- private final String sql = "SELECT namespace_type, description FROM namespace ORDER BY namespace_type asc";
+ private static final String sql = "SELECT namespace_type, description FROM namespace ORDER BY namespace_type asc";
private final String newline = System.getProperty("line.separator");
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/registry/definitions/types/JObjects.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/registry/definitions/types/JObjects.java 2005/04/07 16:42:27 1.1
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/registry/definitions/types/JObjects.java 2005/04/07 20:58:59 1.2
@@ -21,7 +21,7 @@
* <p>email me at edward.kawas at gmail.com
*/
public final class JObjects {
- private final String sql = "SELECT ot1.object_type, rt.relationship_type, ot2.object_type, rt.object2_articlename, ot1.description "
+ private static final String sql = "SELECT ot1.object_type, rt.relationship_type, ot2.object_type, rt.object2_articlename, ot1.description "
+ "FROM object as ot1, object_term2term as rt, object as ot2 "
+ "WHERE ot1.object_id = rt.object1_id and ot2.object_id = rt.object2_id "
+ "ORDER BY ot1.object_type";
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/registry/definitions/types/JServices.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/registry/definitions/types/JServices.java 2005/04/07 16:42:27 1.1
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/registry/definitions/types/JServices.java 2005/04/07 20:58:59 1.2
@@ -22,7 +22,7 @@
* <p>email me at edward.kawas at gmail.com
*/
public final class JServices {
- private final String sql = "SELECT ot1.service_type, rt.relationship_type, ot2.service_type, ot1.description "
+ private static final String sql = "SELECT ot1.service_type, rt.relationship_type, ot2.service_type, ot1.description "
+ "FROM service as ot1, service_term2term as rt, service as ot2 "
+ "WHERE ot1.service_id = rt.service1_id and ot2.service_id = rt.service2_id order by ot1.service_type";
More information about the MOBY-guts
mailing list