commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IMAGING-91) ByteSourceInputStream.streamLength could be a long
Date Tue, 25 Sep 2012 22:48:08 GMT
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

Mime
View raw message