cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1485386 - /cxf/branches/2.6.x-fixes/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/provider/ProviderFactoryTest.java
Date Wed, 22 May 2013 20:02:13 GMT
Author: dkulp
Date: Wed May 22 20:02:13 2013
New Revision: 1485386

URL: http://svn.apache.org/r1485386
Log:
Fix compile issue on Java5

Modified:
    cxf/branches/2.6.x-fixes/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/provider/ProviderFactoryTest.java

Modified: cxf/branches/2.6.x-fixes/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/provider/ProviderFactoryTest.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.6.x-fixes/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/provider/ProviderFactoryTest.java?rev=1485386&r1=1485385&r2=1485386&view=diff
==============================================================================
--- cxf/branches/2.6.x-fixes/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/provider/ProviderFactoryTest.java
(original)
+++ cxf/branches/2.6.x-fixes/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/provider/ProviderFactoryTest.java
Wed May 22 20:02:13 2013
@@ -907,12 +907,10 @@ public class ProviderFactoryTest extends
     }
     private abstract static class ProviderBase<A> implements
         MessageBodyReader<Object>, MessageBodyWriter<Object> {
-        @Override
         public boolean isReadable(Class<?> cls, Type arg1, Annotation[] arg2, MediaType
arg3) {
             return true;
         }
 
-        @Override
         public Object readFrom(Class<Object> arg0, Type arg1, Annotation[] arg2, MediaType
arg3,
                                MultivaluedMap<String, String> arg4, InputStream arg5)
throws IOException,
             WebApplicationException {
@@ -920,19 +918,16 @@ public class ProviderFactoryTest extends
             return null;
         }
 
-        @Override
         public long getSize(Object arg0, Class<?> arg1, Type arg2, Annotation[] arg3,
MediaType arg4) {
             // TODO Auto-generated method stub
             return 0;
         }
 
-        @Override
         public boolean isWriteable(Class<?> arg0, Type arg1, Annotation[] arg2, MediaType
arg3) {
             // TODO Auto-generated method stub
             return false;
         }
 
-        @Override
         public void writeTo(Object arg0, Class<?> arg1, Type arg2, Annotation[] arg3,
MediaType arg4,
                             MultivaluedMap<String, Object> arg5, OutputStream arg6)
throws IOException,
             WebApplicationException {



Mime
View raw message