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

Gary D. Gregory updated EMAIL-170:
----------------------------------
    Fix Version/s: 2.0.0-M2
                       (was: 2.0.0-M1)

> Classes should not expose mutable fields
> ----------------------------------------
>
>                 Key: EMAIL-170
>                 URL: https://issues.apache.org/jira/browse/EMAIL-170
>             Project: Commons Email
>          Issue Type: Bug
>            Reporter: Sebb
>            Priority: Major
>             Fix For: 2.0.0-M2
>
>
> Classes should not expose mutable fields. Mutable data should be private.
> Occasionally it may be necessary to make a field package-protected.
> If class fields need to be accessible externally this should be done through 
> getters/setters.
> This affects the following classes:
> Email
> HtmlEmail
> This will break compatibility, so has to wait until a new major release



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to