cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject svn commit: r1470444 - /cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/JAXRSUtils.java
Date Mon, 22 Apr 2013 10:53:08 GMT
Author: ay
Date: Mon Apr 22 10:53:08 2013
New Revision: 1470444

URL: http://svn.apache.org/r1470444
Log:
fix a typo bug in CXF-4950

Modified:
    cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/JAXRSUtils.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=1470444&r1=1470443&r2=1470444&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 Mon
Apr 22 10:53:08 2013
@@ -668,8 +668,8 @@ public final class JAXRSUtils {
                                                     List<MediaType> acceptTypes) {
         List<MediaType> actualMts1 = intersectSortMediaTypes(mts1, acceptTypes, true);
         List<MediaType> actualMts2 = intersectSortMediaTypes(mts2, acceptTypes, true);
-        int size1 = mts1.size();
-        int size2 = mts2.size();
+        int size1 = actualMts1.size();
+        int size2 = actualMts2.size();
         for (int i = 0; i < size1 && i < size2; i++) {
             int result = compareMediaTypes(actualMts1.get(i), actualMts2.get(i), null);
             if (result == 0) {



Mime
View raw message