You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mailet-api@james.apache.org by "Norman Maurer (JIRA)" <ma...@james.apache.org> on 2011/01/20 20:18:45 UTC
[jira] Commented: (MAILET-34) The pos variable in the Serializable
MailAddress should be transient
[ https://issues.apache.org/jira/browse/MAILET-34?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12984339#action_12984339 ]
Norman Maurer commented on MAILET-34:
-------------------------------------
Maybe we want to "fix" this for 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
>
> 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.