You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Stephen Mallette (Jira)" <ji...@apache.org> on 2021/08/27 10:57:00 UTC

[jira] [Created] (TINKERPOP-2610) NumberHelper can return values in the form of their original type smaller than int

Stephen Mallette created TINKERPOP-2610:
-------------------------------------------

             Summary: 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


{{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)