cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benson Margulies (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CXF-1859) mtom-enabled property case sensitive
Date Tue, 14 Oct 2008 00:03:44 GMT

    [ https://issues.apache.org/jira/browse/CXF-1859?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12639255#action_12639255
] 

Benson Margulies commented on CXF-1859:
---------------------------------------

Would you care to post up a patch? Not that it's hard for one of us to fix, just that I'm
always looking for opportunities to lure in new contributors.

> mtom-enabled property case sensitive
> ------------------------------------
>
>                 Key: CXF-1859
>                 URL: https://issues.apache.org/jira/browse/CXF-1859
>             Project: CXF
>          Issue Type: Bug
>          Components: Configuration
>    Affects Versions: 2.0.8
>         Environment: jdk1.5
>            Reporter: Adrian Corcoran
>            Priority: Minor
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> Setting of jax-ws endpoint property mtom-enabled is case sensitive - setting value to
'TRUE' rather than 'true' will not enable mtom.
> The root of this problem is in MessageUtils.
>     public static boolean isTrue(Object value) {
>         if (Boolean.TRUE.equals(value) || "true".equals(value)) {
>             return true;
>         }
>         
>         return false;
>     }
> This should obviously be
>     public static boolean isTrue(Object value) {
> return Boolean.valueOf(value.toString());
> }

-- 
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