cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r705692 - /cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/PrimitiveTextProvider.java
Date Fri, 17 Oct 2008 18:16:46 GMT
Author: dkulp
Date: Fri Oct 17 11:16:46 2008
New Revision: 705692

URL: http://svn.apache.org/viewvc?rev=705692&view=rev
Log:
Fix compile problems

Modified:
    cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/PrimitiveTextProvider.java

Modified: cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/PrimitiveTextProvider.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/PrimitiveTextProvider.java?rev=705692&r1=705691&r2=705692&view=diff
==============================================================================
--- cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/PrimitiveTextProvider.java
(original)
+++ cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/PrimitiveTextProvider.java
Fri Oct 17 11:16:46 2008
@@ -50,7 +50,7 @@
     }
 
     public Object readFrom(Class<Object> type, Type genType, Annotation[] anns, MediaType
mt, 
-                           MultivaluedMap headers, InputStream is) throws IOException {
+                           MultivaluedMap<String, String> headers, InputStream is)
throws IOException {
         return InjectionUtils.handleParameter(
                     IOUtils.readStringFromStream(is).toString(), type);
     }
@@ -64,7 +64,7 @@
     }
 
     public void writeTo(Object obj, Class<?> type, Type genType, Annotation[] anns,

-                        MediaType mt, MultivaluedMap headers, OutputStream os) throws IOException
{
+                        MediaType mt, MultivaluedMap<String, Object> headers, OutputStream
os) throws IOException {
         os.write(obj.toString().getBytes("UTF-8"));
     }
 



Mime
View raw message