You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2012/09/26 00:48:08 UTC
[jira] [Created] (IMAGING-91) ByteSourceInputStream.streamLength
could be a long
Sebb created IMAGING-91:
---------------------------
Summary: 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
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
[jira] [Resolved] (IMAGING-91) ByteSourceInputStream.streamLength
could be a long
Posted by "Damjan Jovanovic (JIRA)" <ji...@apache.org>.
[ 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