[MOBY-guts] biomoby commit

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


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

Modified Files:
	MobyServletTestCase.java 
Log Message:
Replaced deprecated StringBufferInputStream usage
moby-live/Java/src/main/org/biomoby/service/test MobyServletTestCase.java,1.6,1.7
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/service/test/MobyServletTestCase.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/service/test/MobyServletTestCase.java	2007/10/25 21:31:48	1.6
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/service/test/MobyServletTestCase.java	2007/12/06 16:40:38	1.7
@@ -219,7 +219,7 @@
 
 	// Call second service on output of previous service, the input is actually AA, not DNA as expected
 	try{
-	    fasta_na2dna.processRequests(MobyDataUtils.fromXMLDocument(new java.io.StringBufferInputStream(outBuffer.getBuffer().toString())), 
+	    fasta_na2dna.processRequests(MobyDataUtils.fromXMLDocument(new java.io.ByteArrayInputStream(outBuffer.getBuffer().toString().getBytes())), 
 					 resultContents);
 	} catch(Exception e){
 	    e.printStackTrace();




More information about the MOBY-guts mailing list