Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-2610

NumberHelper can return values in the form of their original type smaller than int

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.4.12
    • 3.6.0
    • process

    Description

      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.

      Attachments

        Activity

          People

            spmallette Stephen Mallette
            spmallette Stephen Mallette
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: