[
https://issues.apache.org/jira/browse/TINKERPOP-2610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17418581#comment-17418581
]
ASF GitHub Bot commented on TINKERPOP-2610:
-------------------------------------------
spmallette opened a new pull request #1477:
URL: https://github.com/apache/tinkerpop/pull/1477
https://issues.apache.org/jira/browse/TINKERPOP-2610
It is now possible to return byte/short explicitly rather than promoting to
int. See the upgrade docs for examples and further explanation.
Builds with `mvn clean install && mvn verify -pl gremlin-server
-DskipIntegrationTests=false`
VOTE +1
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
> 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
> Priority: Major
> Labels: breaking
>
> {{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)