cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brad Moody (JIRA)" <j...@apache.org>
Subject [jira] Closed: (CXF-1635) JaxrsUtils checks the wrong variable for null and size in the method readFromUriParam
Date Fri, 06 Jun 2008 09:50:45 GMT

     [ https://issues.apache.org/jira/browse/CXF-1635?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Brad Moody closed CXF-1635.
---------------------------

    Resolution: Duplicate

Sorry, duplicate of a bug previously submitted by myself......how dumb is that?

Please ignore.

> JaxrsUtils checks the wrong variable for null and size in the method readFromUriParam
> -------------------------------------------------------------------------------------
>
>                 Key: CXF-1635
>                 URL: https://issues.apache.org/jira/browse/CXF-1635
>             Project: CXF
>          Issue Type: Bug
>          Components: REST
>    Affects Versions: 2.1
>            Reporter: Brad Moody
>            Priority: Minor
>         Attachments: JaxrsUtils.patch
>
>
> At line 511 in JaxrsUtils :
>         List<String> results = values.get(parameterName);
>         if (values != null && values.size() > 0) {
>             result = results.get(results.size() - 1);
>         }
> Looks to me like it should be :
>         List<String> results = values.get(parameterName);
>         if (results != null && results.size() > 0) {
>             result = results.get(results.size() - 1);
>         }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message