You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Aki Yoshida (JIRA)" <ji...@apache.org> on 2014/02/03 12:04:10 UTC
[jira] [Assigned] (CXF-5517) Incorrect check for VOID type
[ https://issues.apache.org/jira/browse/CXF-5517?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aki Yoshida reassigned CXF-5517:
--------------------------------
Assignee: Aki Yoshida
> Incorrect check for VOID type
> -----------------------------
>
> Key: CXF-5517
> URL: https://issues.apache.org/jira/browse/CXF-5517
> Project: CXF
> Issue Type: Bug
> Reporter: Valentin Mayamsin
> Assignee: Aki Yoshida
> Labels: void
>
> There are multiple occurrences in CXF code base for both server and client side which incorrectly deals with VOID return type. For example:
> method.getReturnType() == Void.class
> This fails in case of primitive VOID:
> method.getReturnType() => void.class
> The correct way of checking for VOID is:
> method.getReturnType().equals(Void.TYPE)
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)