You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Richard Leavelle (JIRA)" <ji...@apache.org> on 2012/06/12 22:27:42 UTC

[jira] [Created] (IO-336) Yottabyte (YB) incorrectly defined in FileUtils

Richard Leavelle created IO-336:
-----------------------------------

             Summary: Yottabyte (YB) incorrectly defined in FileUtils
                 Key: IO-336
                 URL: https://issues.apache.org/jira/browse/IO-336
             Project: Commons IO
          Issue Type: Bug
          Components: Utilities
    Affects Versions: 2.3
            Reporter: Richard Leavelle
            Priority: Minor


In FileUtils, a yottabyte is currently defined as follows:

public static final BigInteger ONE_YB = ONE_ZB.multiply(BigInteger.valueOf(ONE_EB));

I believe this should be:

public static final BigInteger ONE_YB = ONE_ZB.multiply(BigInteger.valueOf(ONE_KB));

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (IO-336) Yottabyte (YB) incorrectly defined in FileUtils

Posted by "Gary D. Gregory (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IO-336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary D. Gregory resolved IO-336.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.4

Committed revision 1349509.
                
> Yottabyte (YB) incorrectly defined in FileUtils
> -----------------------------------------------
>
>                 Key: IO-336
>                 URL: https://issues.apache.org/jira/browse/IO-336
>             Project: Commons IO
>          Issue Type: Bug
>          Components: Utilities
>    Affects Versions: 2.3
>            Reporter: Richard Leavelle
>            Priority: Minor
>             Fix For: 2.4
>
>
> In FileUtils, a yottabyte is currently defined as follows:
> public static final BigInteger ONE_YB = ONE_ZB.multiply(BigInteger.valueOf(ONE_EB));
> I believe this should be:
> public static final BigInteger ONE_YB = ONE_ZB.multiply(BigInteger.valueOf(ONE_KB));

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira