[MOBY-guts] biomoby commit

Paul Gordon gordonp at pub.open-bio.org
Wed Apr 27 20:16:27 UTC 2005


gordonp
Wed Apr 27 16:16:26 EDT 2005
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared
In directory pub.open-bio.org:/tmp/cvs-serv6721

Modified Files:
	MobyDataInt.java 
Log Message:
Got rid of superfluous toXML() code and call parent's method in the case of central API mode

moby-live/Java/src/main/org/biomoby/shared MobyDataInt.java,1.4,1.5
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/MobyDataInt.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/MobyDataInt.java	2005/04/15 21:34:40	1.4
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/MobyDataInt.java	2005/04/27 20:16:26	1.5
@@ -86,13 +86,7 @@
 		"\">" + value.toString() + "</moby:Integer>";
 		 }
 	else{
-	    String result = "<Simple xmlns=\""+MobyPrefixResolver.MOBY_XML_NAMESPACE+
-		"\">\n<objectType>Integer</objectType>\n";
-	    for(int i = 0; ns != null && i < ns.length; i++){
-		result += "<Namespace>" + ns[i].getName() + "</Namespace>\n";
-	    }
-	    result += "</Simple>";
-	    return result;
+	    return super.toXML();
 	}
     }
 }




More information about the MOBY-guts mailing list