[ 
https://issues.apache.org/jira/browse/PROTON-1712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16280387#comment-16280387
 ] 

ASF subversion and git services commented on PROTON-1712:
---------------------------------------------------------

Commit 5ddb6be24617f81187e85abd0c9709cb7fcf9f11 in qpid-proton-j's branch 
refs/heads/master from [~gemmellr]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-proton-j.git;h=5ddb6be ]

PROTON-1712: add type details to the ApplicationProperties map


> 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