james-mailet-api mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Norman Maurer (JIRA)" <mailet-...@james.apache.org>
Subject [jira] Commented: (MAILET-34) The pos variable in the Serializable MailAddress should be transient
Date Thu, 20 Jan 2011 19:18:45 GMT

    [ 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.


Mime
View raw message