cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject svn commit: r666694 - /cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/JAXRSUtils.java
Date Wed, 11 Jun 2008 14:58:19 GMT
Author: sergeyb
Date: Wed Jun 11 07:58:19 2008
New Revision: 666694

URL: http://svn.apache.org/viewvc?rev=666694&view=rev
Log:
CXF-1570 : applying a patch on behalf of Brad Moody, thanks

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

Modified: cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/JAXRSUtils.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/JAXRSUtils.java?rev=666694&r1=666693&r2=666694&view=diff
==============================================================================
--- cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/JAXRSUtils.java (original)
+++ cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/JAXRSUtils.java Wed Jun
11 07:58:19 2008
@@ -509,7 +509,7 @@
 
         String result = null;
         List<String> results = values.get(parameterName);
-        if (values != null && values.size() > 0) {
+        if (results != null && results.size() > 0) {
             result = results.get(results.size() - 1);
         }
         if (result != null) {



Mime
View raw message