cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r722984 - in /cxf/trunk/rt/frontend/jaxrs/src: main/java/org/apache/cxf/jaxrs/utils/JAXRSUtils.java test/java/org/apache/cxf/jaxrs/utils/JAXRSUtilsTest.java
Date Wed, 03 Dec 2008 17:44:42 GMT
Author: dkulp
Date: Wed Dec  3 09:44:41 2008
New Revision: 722984

URL: http://svn.apache.org/viewvc?rev=722984&view=rev
Log:
Remove some unused @suppresswarnings

Modified:
    cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/JAXRSUtils.java
    cxf/trunk/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/utils/JAXRSUtilsTest.java

Modified: cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/JAXRSUtils.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/JAXRSUtils.java?rev=722984&r1=722983&r2=722984&view=diff
==============================================================================
--- cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/JAXRSUtils.java (original)
+++ cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/JAXRSUtils.java Wed
Dec  3 09:44:41 2008
@@ -133,7 +133,6 @@
         return values;
     }
     
-    @SuppressWarnings("unchecked")
     public static List<MediaType> getProviderConsumeTypes(MessageBodyReader provider)
{
         String[] values = getUserMediaTypes(provider, "getConsumeMediaTypes");
         
@@ -548,7 +547,6 @@
                            : JAXRSUtils.getStructuredParams(path.substring(index + 1), ";",
decode);
     }
     
-    @SuppressWarnings("unchecked")
     private static Object processHeaderParam(Message m, 
                                              String header, 
                                              Class<?> pClass, 

Modified: cxf/trunk/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/utils/JAXRSUtilsTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/utils/JAXRSUtilsTest.java?rev=722984&r1=722983&r2=722984&view=diff
==============================================================================
--- cxf/trunk/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/utils/JAXRSUtilsTest.java
(original)
+++ cxf/trunk/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/utils/JAXRSUtilsTest.java
Wed Dec  3 09:44:41 2008
@@ -624,7 +624,6 @@
         assertEquals("5", list.get(2));
     }
     
-    @SuppressWarnings("unchecked")
     @Test
     public void testMatrixAndPathSegmentParameters() throws Exception {
         Class[] argType = {PathSegment.class, String.class};



Mime
View raw message