You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Carsten Ziegeler (Jira)" <ji...@apache.org> on 2020/12/09 06:24:00 UTC
[jira] [Closed] (FELIX-6242) Conversion of boolean to Long results
in Integer
[ https://issues.apache.org/jira/browse/FELIX-6242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler closed FELIX-6242.
-----------------------------------
> Conversion of boolean to Long results in Integer
> ------------------------------------------------
>
> Key: FELIX-6242
> URL: https://issues.apache.org/jira/browse/FELIX-6242
> Project: Felix
> Issue Type: Bug
> Components: Converter
> Affects Versions: converter-1.0.12
> Reporter: Carsten Ziegeler
> Assignee: A. J. David Bosschaert
> Priority: Major
> Fix For: converter-1.0.14
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> When converting a boolean to a Long, an Integer is returned. the following test fails:
> assertEquals(Long.valueOf(1), converter.convert(Boolean.TRUE).to(Long.class));
--
This message was sent by Atlassian Jira
(v8.3.4#803005)