harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Li Jing Qin (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-6465) [classlib][nio]Small fixes according to the findbug results
Date Fri, 12 Mar 2010 05:33:27 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-6465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Li Jing Qin updated HARMONY-6465:

    Attachment: findbug-nio.diff

According to the comments of SocketChannelImpl, which said the long value must be newed not
valueOf. I have removed the diff part of SocketChannelImpl.

> [classlib][nio]Small fixes according to the findbug results
> -----------------------------------------------------------
>                 Key: HARMONY-6465
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6465
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: All
>            Reporter: Li Jing Qin
>            Priority: Minor
>             Fix For: 5.0M14
>         Attachments: findbug-nio.diff, findbug-nio.diff
> According to the findbug results, this patch including simple fixes or refactors as follow:
> 1. Use Integer.valueOf instead of new Integer, which may use the Integer cached. (MappedByteBufferFactory.java)
> 2. Use the primitive 0L instead of the new Long(0). (SocketChannelImpl.java)
> 3. Change the final int to be a static field. (EpollSelectorImpl.java)

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message