commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] Updated: (NET-380) Wherever possible, immutable private fields should be marked final
Date Fri, 18 Mar 2011 15:28:29 GMT

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

Sebb updated NET-380:
---------------------

    Attachment: final.patch

> Wherever possible, immutable private fields should be marked final
> ------------------------------------------------------------------
>
>                 Key: NET-380
>                 URL: https://issues.apache.org/jira/browse/NET-380
>             Project: Commons Net
>          Issue Type: Improvement
>            Reporter: Sebb
>         Attachments: final.patch
>
>
> Using final for fields that are not intended to change is (IMO) good practice.
> Also final fields help to ensure thread-safety.

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

Mime
View raw message