Uploaded image for project: 'Commons Imaging'
  1. Commons Imaging
  2. IMAGING-91

ByteSourceInputStream.streamLength could be a long

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 1.0-alpha1
    • None
    • None

    Description

      ByteSourceInputStream.streamLength is currently a Long.
      Since it has to be positive, it could be converted to an long, e.g. using -1 as the equivalent of null.

      This would save some boxing/unboxing and instance creation.

      Attachments

        Activity

          People

            Unassigned Unassigned
            sebb Sebb
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: