[MOBY-guts] biomoby commit

Paul Gordon gordonp at dev.open-bio.org
Thu Dec 6 16:40:00 UTC 2007


gordonp
Thu Dec  6 11:40:00 EST 2007
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/service
In directory dev.open-bio.org:/tmp/cvs-serv24922/src/main/org/biomoby/service

Modified Files:
	MobyServlet.java 
Log Message:
Replaced deprecated StringBufferInputStream usage
moby-live/Java/src/main/org/biomoby/service MobyServlet.java,1.7,1.8
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/service/MobyServlet.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/service/MobyServlet.java	2007/04/12 00:51:45	1.7
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/service/MobyServlet.java	2007/12/06 16:40:00	1.8
@@ -266,7 +266,7 @@
 	// Synchronized to avoid Xerces exception FWK005: concurrent parsing is disallowed
 	synchronized(docBuilder){
 	    //	    bodyDoc = docBuilder.parse(bodyInputStream);
-     	    bodyDoc = docBuilder.parse(new java.io.StringBufferInputStream(reqString.toString()));
+     	    bodyDoc = docBuilder.parse(new java.io.ByteArrayInputStream(reqString.toString().getBytes()));
 	}
 
 	// Parse the SOAP data envelope to get just the MOBY part




More information about the MOBY-guts mailing list