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

Robbie Gemmell resolved PROTON-1712.
------------------------------------
    Resolution: Fixed

> add type details to the ApplicationProperties map
> -------------------------------------------------
>
>                 Key: PROTON-1712
>                 URL: https://issues.apache.org/jira/browse/PROTON-1712
>             Project: Qpid Proton
>          Issue Type: Improvement
>          Components: proton-j
>            Reporter: Robbie Gemmell
>            Assignee: Robbie Gemmell
>            Priority: Minor
>             Fix For: proton-j-0.24.0
>
>
> The ApplicationProperties object takes/returns a map of the keys+values. The 
> keys are only allowed to be strings by the protocol spec, however the 
> signatures are currently using a raw Map type. We should use 
> Map<String,Object> to reflect the actual scenario and typical existing usage 
> (with casting).
> This change will be binary compatible due to generic type erasure at 
> compilation, but can introduce some trivial source incompatibility depending 
> on particular casting etc done by using code. The improvement seems worth 
> such trivial changes where needed during upgrade, and adapting source to work 
> with old and new versions is similarly simple enough if required.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to