[ http://issues.apache.org/jira/browse/WSCOMMONS-116?page=all ]

Gerald Preissler updated WSCOMMONS-116:
---------------------------------------

    Attachment: PrimitiveAssertion.java

changed addAttribute(QName qname, Object value) to addAttribute(QName qname, 
String value)

> org.apache.ws.policy.PrimitiveAssertion.addAttribute accepts java.lang.Object 
> values
> ------------------------------------------------------------------------------------
>
>                 Key: WSCOMMONS-116
>                 URL: http://issues.apache.org/jira/browse/WSCOMMONS-116
>             Project: WS-Commons
>          Issue Type: Bug
>          Components: Policy
>         Environment: all
>            Reporter: Gerald Preissler
>            Priority: Minor
>         Attachments: PrimitiveAssertion.java
>
>
> In org.apache.ws.policy.PrimitiveAssertion.addAttribute accepts any Object as 
> attribute value, but when reading the value with getAttribute, it is cast to 
> String.
> This should be changed to reflect the implementation in 
> org.apache.ws.policy.Policy, where only String values are accepted.
> I'll attach an updated implementation.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to