cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r763742 - /cxf/trunk/systests/src/test/java/org/apache/cxf/systest/jaxrs/GenericHandlerWriter.java
Date Thu, 09 Apr 2009 17:32:07 GMT
Author: dkulp
Date: Thu Apr  9 17:32:06 2009
New Revision: 763742

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

Modified:
    cxf/trunk/systests/src/test/java/org/apache/cxf/systest/jaxrs/GenericHandlerWriter.java

Modified: cxf/trunk/systests/src/test/java/org/apache/cxf/systest/jaxrs/GenericHandlerWriter.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/jaxrs/GenericHandlerWriter.java?rev=763742&r1=763741&r2=763742&view=diff
==============================================================================
--- cxf/trunk/systests/src/test/java/org/apache/cxf/systest/jaxrs/GenericHandlerWriter.java
(original)
+++ cxf/trunk/systests/src/test/java/org/apache/cxf/systest/jaxrs/GenericHandlerWriter.java
Thu Apr  9 17:32:06 2009
@@ -33,20 +33,22 @@
 
 public class GenericHandlerWriter implements MessageBodyWriter<GenericHandler<Book>>
{
 
-    public long getSize(GenericHandler<Book> t, Class type, Type genericType, Annotation[]
annotations, 
+    public long getSize(GenericHandler<Book> t, Class<?> type, Type genericType,
Annotation[] annotations, 
                         MediaType mediaType) {        
         return -1;
     }
 
-    public boolean isWriteable(Class type, Type genericType, Annotation[] annotations, MediaType
mediaType) {
+    public boolean isWriteable(Class<?> type, Type genericType, 
+                               Annotation[] annotations, MediaType mediaType) {
         return type == GenericHandler.class && InjectionUtils.getActualType(genericType)
== Book.class;
     }
 
-    public void writeTo(GenericHandler<Book> o, Class c, Type t, Annotation[] anns,
MediaType m,
+    public void writeTo(GenericHandler<Book> o, Class<?> c, Type t, Annotation[]
anns, MediaType m,
                         MultivaluedMap<String, Object> headers, OutputStream os) 
         throws IOException, WebApplicationException {
         JAXBElementProvider jaxb = new JAXBElementProvider();
         jaxb.writeTo(o.getEntity(), c, InjectionUtils.getActualType(t), anns, m, headers,
os);
     }
 
+
 }



Mime
View raw message