cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject svn commit: r1331341 - /cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/interceptor/JAXRSInInterceptor.java
Date Fri, 27 Apr 2012 10:25:14 GMT
Author: sergeyb
Date: Fri Apr 27 10:25:14 2012
New Revision: 1331341

URL: http://svn.apache.org/viewvc?rev=1331341&view=rev
Log:
Fixing the useless code in JAXRSInInterceptor

Modified:
    cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/interceptor/JAXRSInInterceptor.java

Modified: cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/interceptor/JAXRSInInterceptor.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/interceptor/JAXRSInInterceptor.java?rev=1331341&r1=1331340&r2=1331341&view=diff
==============================================================================
--- cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/interceptor/JAXRSInInterceptor.java
(original)
+++ cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/interceptor/JAXRSInInterceptor.java
Fri Apr 27 10:25:14 2012
@@ -134,7 +134,7 @@ public class JAXRSInInterceptor extends 
         }
         List<MediaType> acceptContentTypes = null;
         try {
-            JAXRSUtils.sortMediaTypes(acceptTypes);
+            acceptContentTypes = JAXRSUtils.sortMediaTypes(acceptTypes);
         } catch (IllegalArgumentException ex) {
             throw new WebApplicationException(406);
         }



Mime
View raw message