[MOBY-guts] biomoby commit
Paul Gordon
gordonp at dev.open-bio.org
Tue Jun 26 21:22:25 UTC 2007
gordonp
Tue Jun 26 17:22:24 EDT 2007
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/data
In directory dev.open-bio.org:/tmp/cvs-serv23796/src/main/org/biomoby/shared/data
Modified Files:
MobyDataUtils.java
Log Message:
Added carriage return to serialized XML envelope, to avoid potential I/O buffering issues
moby-live/Java/src/main/org/biomoby/shared/data MobyDataUtils.java,1.7,1.8
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/data/MobyDataUtils.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/data/MobyDataUtils.java 2007/06/07 23:58:15 1.7
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/data/MobyDataUtils.java 2007/06/26 21:22:24 1.8
@@ -31,7 +31,7 @@
os.write("<?xml version=\"1.0\"?>\n".getBytes());
os.write(("<moby:MOBY xmlns:moby=\"" + MobyPrefixResolver.MOBY_XML_NAMESPACE + "\">\n").getBytes());
os.write(mci.toXML().getBytes());
- os.write("\n</moby:MOBY>".getBytes());
+ os.write("\n</moby:MOBY>\n".getBytes());
return true;
}
@@ -52,7 +52,7 @@
writer.write("<?xml version=\"1.0\"?>\n");
writer.write(("<moby:MOBY xmlns:moby=\"" + MobyPrefixResolver.MOBY_XML_NAMESPACE + "\">\n"));
writer.write(mci.toXML());
- writer.write("\n</moby:MOBY>");
+ writer.write("\n</moby:MOBY>\n");
return true;
}
More information about the MOBY-guts
mailing list