commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Damjan Jovanovic (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (IMAGING-91) ByteSourceInputStream.streamLength could be a long
Date Wed, 24 Oct 2012 05:10:12 GMT

     [ https://issues.apache.org/jira/browse/IMAGING-91?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Damjan Jovanovic resolved IMAGING-91.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0

Thank you, it's fixed now :).
                
> ByteSourceInputStream.streamLength could be a long
> --------------------------------------------------
>
>                 Key: IMAGING-91
>                 URL: https://issues.apache.org/jira/browse/IMAGING-91
>             Project: Commons Imaging
>          Issue Type: Improvement
>            Reporter: Sebb
>            Priority: Trivial
>             Fix For: 1.0
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message