You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2009/07/29 23:55:15 UTC
[jira] Resolved: (DIRMINA-730)
IoServiceStatistics.increaseWrittenBytes () takes an int as increment
rather than a long
[ https://issues.apache.org/jira/browse/DIRMINA-730?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Lecharny resolved DIRMINA-730.
---------------------------------------
Resolution: Won't Fix
This is on purpose. The number of written bytes can't be larger than 2^32-1, so there is no reason to use a long to store this value.
> IoServiceStatistics.increaseWrittenBytes () takes an int as increment rather than a long
> ----------------------------------------------------------------------------------------
>
> Key: DIRMINA-730
> URL: https://issues.apache.org/jira/browse/DIRMINA-730
> Project: MINA
> Issue Type: Bug
> Components: Core
> Affects Versions: 2.0.0-M6
> Environment: Mac OS X, Java 1.5
> Reporter: Matthew Phillips
> Priority: Minor
>
> See IoServiceStatistics:330:
> public final void increaseWrittenBytes(int increment, long currentTime)
> All other methods take a long, but increment is an int in this case.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.