juddi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tcunn...@apache.org
Subject svn commit: r823245 - /webservices/juddi/trunk/uddi-client/src/main/java/org/apache/juddi/v3/client/transport/wrapper/UDDIInquiryService.java
Date Thu, 08 Oct 2009 17:53:11 GMT
Author: tcunning
Date: Thu Oct  8 17:53:11 2009
New Revision: 823245

URL: http://svn.apache.org/viewvc?rev=823245&view=rev
Log:
Remove deprecated class reference.

Modified:
    webservices/juddi/trunk/uddi-client/src/main/java/org/apache/juddi/v3/client/transport/wrapper/UDDIInquiryService.java

Modified: webservices/juddi/trunk/uddi-client/src/main/java/org/apache/juddi/v3/client/transport/wrapper/UDDIInquiryService.java
URL: http://svn.apache.org/viewvc/webservices/juddi/trunk/uddi-client/src/main/java/org/apache/juddi/v3/client/transport/wrapper/UDDIInquiryService.java?rev=823245&r1=823244&r2=823245&view=diff
==============================================================================
--- webservices/juddi/trunk/uddi-client/src/main/java/org/apache/juddi/v3/client/transport/wrapper/UDDIInquiryService.java
(original)
+++ webservices/juddi/trunk/uddi-client/src/main/java/org/apache/juddi/v3/client/transport/wrapper/UDDIInquiryService.java
Thu Oct  8 17:53:11 2009
@@ -1,6 +1,6 @@
 package org.apache.juddi.v3.client.transport.wrapper;
 
-import java.io.StringBufferInputStream;
+import java.io.ByteArrayInputStream;
 import java.io.StringWriter;
 import java.util.HashMap;
 
@@ -81,7 +81,7 @@
 	}	
 	
 	public String inquire(UDDIInquiryPortType inquiry, String request) throws Exception {
-	    java.io.InputStream sbis = new StringBufferInputStream(request);
+	    java.io.InputStream sbis = new ByteArrayInputStream(request.getBytes());
 	    javax.xml.parsers.DocumentBuilderFactory dbf = javax.xml.parsers.DocumentBuilderFactory.newInstance();
 	    dbf.setNamespaceAware(true);
 	    dbf.setValidating(false);



---------------------------------------------------------------------
To unsubscribe, e-mail: juddi-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: juddi-cvs-help@ws.apache.org


Mime
View raw message