ASF subversion and git services commented on TAMAYA-329:

Commit 47972d89b5d062495e1cd3b4fa948c73df45f95c in incubator-tamaya's branch 
refs/heads/master from [~wlieurance]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-tamaya.git;h=47972d8 ]

TAMAYA-329: mapBoxedType should work with boolean[]

Simple copy-and-paste miss.  All the other primitives have both a simple
and array type check.  Boolean has two simple checks and no arrays.
This corrects the copy and adds a test.

> PropertyConverterManager cannot box arrays of booleans
> ------------------------------------------------------
>                 Key: TAMAYA-329
>                 URL: https://issues.apache.org/jira/browse/TAMAYA-329
>             Project: Tamaya
>          Issue Type: Bug
>            Reporter: William Lieurance
>            Priority: Major
> Super simple.  There's a mapBoxedType method in 
> org.apache.tamaya.spisupport.PropertyConverterManager that lists off 
> primitive types, then arrays of primitive types with equivalent boxed types.  
> The second "boolean" entry didn't get array markers, so it effectively checks 
> for straight boolean twice and boolean[] never.
> Easy patch and test on github.

This message was sent by Atlassian JIRA

Reply via email to