You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "George Harley (JIRA)" <ji...@apache.org> on 2006/07/06 14:20:30 UTC

[jira] Resolved: (HARMONY-776) [classlib][nio] Refine several methods of o.a.h.nio.internal.ServerSocketChannelImpl

     [ http://issues.apache.org/jira/browse/HARMONY-776?page=all ]
     
George Harley resolved HARMONY-776:
-----------------------------------

    Resolution: Fixed

Hi Andrew, 

Patch committed in revision 419532. Please could you verify that it has been applied as expected. 

Thank you for this enhancement. 

Best regards, 
George


> [classlib][nio] Refine several methods of o.a.h.nio.internal.ServerSocketChannelImpl
> ------------------------------------------------------------------------------------
>
>          Key: HARMONY-776
>          URL: http://issues.apache.org/jira/browse/HARMONY-776
>      Project: Harmony
>         Type: Improvement

>   Components: Classlib
>     Reporter: Andrew Zhang
>     Assignee: George Harley
>  Attachments: nio.diff
>
> Refine several methods of o.a.h.nio.internal.ServerSocketChannelImpl. The improvements include:
> 1. implConfgiureBlocking  method: Remove an unnecessary operation as discussed on mailing-list. [1][2]
> 2. Remove an unnecessary condition check at line 116 and 231. if (!isBound || !socket.isBound())  checks bound redundantly, 
> as "isBound" always returns the same value as "socket.isBound()".
> 3. Improve some javadoc for ServerSocketChannelImpl.
> I'll upload a patch soon.
> Thanks!
> Best regards,
> Andrew
> [1] Thread: Modify ServerSocketChannel.implConfigureBlocking() method   
> [2] Thread: [continuum] BUILD FAILURE: Classlib/win.ia32 Build/Test (Jul 30)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira