You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Trustin Lee (JIRA)" <ji...@apache.org> on 2008/03/12 08:06:46 UTC
[jira] Resolved: (DIRMINA-528) NioSocketConnector has a public
constructor that takes a package scoped argument
[ https://issues.apache.org/jira/browse/DIRMINA-528?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Trustin Lee resolved DIRMINA-528.
---------------------------------
Resolution: Fixed
Assignee: Trustin Lee
NioSession is now public although it doesn't expose anything. I can't think of better solution.
> NioSocketConnector has a public constructor that takes a package scoped argument
> --------------------------------------------------------------------------------
>
> Key: DIRMINA-528
> URL: https://issues.apache.org/jira/browse/DIRMINA-528
> Project: MINA
> Issue Type: Bug
> Affects Versions: 2.0.0-M1
> Reporter: Mike Heath
> Assignee: Trustin Lee
> Fix For: 2.0.0-M2
>
>
> NioSocketConnector has the public constructors:
> NioSocketConnector(IoProcessor<NioSession> processor)
> and
> NioSocketConnector(Executor executor, IoProcessor<NioSession> processor)
> however NioSession and the two classes that extend it are all package scoped. This makes it impossible to pass in an IoProcessor implementation without getting a warning.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.