[
https://issues.apache.org/jira/browse/TINKERPOP-2610?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stephen Mallette closed TINKERPOP-2610.
---------------------------------------
Fix Version/s: 3.6.0
Assignee: Stephen Mallette
Resolution: Fixed
> NumberHelper can return values in the form of their original type smaller
> than int
> ----------------------------------------------------------------------------------
>
> Key: TINKERPOP-2610
> URL: https://issues.apache.org/jira/browse/TINKERPOP-2610
> Project: TinkerPop
> Issue Type: Bug
> Components: process
> Affects Versions: 3.4.12
> Reporter: Stephen Mallette
> Assignee: Stephen Mallette
> Priority: Major
> Labels: breaking
> Fix For: 3.6.0
>
>
> {{NumberHelper}} converts smaller number types like short/byte to int after
> applying a function to them. It was thought that this was just the way things
> worked on the JVM but all we needed to do was cast to the appropriate type.
> Didn't want to fix this along existing release branches because it could
> create some subtle breaking change in equality.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)