[MOBY-guts] biomoby commit

Eddie Kawas kawas at pub.open-bio.org
Fri Apr 8 15:32:44 UTC 2005


kawas
Fri Apr  8 11:32:44 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-serv9720/org/biomoby/registry/definitions/types

Modified Files:
	JObjects.java 
Log Message:
fixed a nasty little bug that propagated to the resolver:
getObjects(...) did not actually return a tab-deliminted string in all cases.

moby-live/Java/src/main/org/biomoby/registry/definitions/types JObjects.java,1.2,1.3
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/registry/definitions/types/JObjects.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/registry/definitions/types/JObjects.java	2005/04/07 20:58:59	1.2
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/registry/definitions/types/JObjects.java	2005/04/08 15:32:44	1.3
@@ -93,7 +93,7 @@
                         + "\t"
                         + rs.getString(3)
                         + ((rs.getString(4) == null || rs.getString(4).equals(
-                                "")) ? "" : "(" + rs.getString(4) + ")\t")
+                                "")) ? "\t" : "(" + rs.getString(4) + ")\t")
                         + rs.getString(5) + newline);
             }
         } catch (SQLException e) {
@@ -130,7 +130,7 @@
                         + "\t"
                         + rs.getString(3)
                         + ((rs.getString(4) == null || rs.getString(4).equals(
-                                "")) ? "" : "(" + rs.getString(4) + ")\t")
+                                "")) ? "\t" : "(" + rs.getString(4) + ")\t")
                         + rs.getString(5) + newline);
             }
         } catch (SQLException e) {




More information about the MOBY-guts mailing list