mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DIRMINA-839) The AvailablePortFinder is overly complex
Date Tue, 14 Jun 2011 16:13:48 GMT
The AvailablePortFinder is overly complex

                 Key: DIRMINA-839
                 URL: https://issues.apache.org/jira/browse/DIRMINA-839
             Project: MINA
          Issue Type: Improvement
    Affects Versions: 2.0.4
            Reporter: Emmanuel Lecharny
             Fix For: 2.0.5

We have a helper method that returns an availble port, doing a loop. This is probably overly
complex, when a simple call to :

new ServerSocket( 0 ).getLocalPort()

will return the first available port.

This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message