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

Stefano Bagnara updated MAILET-34:
----------------------------------

    Fix Version/s: 2.5

> The pos variable in the Serializable MailAddress should be transient
> --------------------------------------------------------------------
>
>                 Key: MAILET-34
>                 URL: https://issues.apache.org/jira/browse/MAILET-34
>             Project: Mailet
>          Issue Type: Improvement
>          Components: Core API
>    Affects Versions: 2.4
>         Environment: Operating System: Other
> Platform: Other
>            Reporter: Peter M. Goldstein
>            Priority: Trivial
>             Fix For: 2.5
>
>
> MailAddress stores the pos variable - a position variable used in parsing the 
> input string in one of the constructors - when serialized.  This variable is 
> meaningless outside of this constructor and methods called by the constructor 
> and thus should not be stored when the instance is serialized.  This could be 
> accomplished by declaring the variable transient or (preferably) by 
> refactoring the class to reduce the scope of the variable.

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

Reply via email to