You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by ji...@apache.org on 2004/04/14 06:39:43 UTC

[jira] Updated: (JAMES-49) The pos variable in the Serializable MailAddress should be transient

The following issue has been updated:

    Updater: Noel J. Bergman (mailto:noel@devtech.com)
       Date: Tue, 13 Apr 2004 9:39 PM
    Changes:
             assignee changed from James Developers Mailing List
             type changed from Bug to Improvement
             description changed from 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. to 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.
             environment changed from Operating System: Other
Platform: Other to Operating System: Other
Platform: Other
             priority changed to Trivial
             Version changed to 2.1.3
             Version changed to 2.2.0a18
             Version changed to 2.2.0a19
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://issues.apache.org/jira/browse/JAMES-49?page=history

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/JAMES-49

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: JAMES-49
    Summary: The pos variable in the Serializable MailAddress should be transient
       Type: Improvement

     Status: Unassigned
   Priority: Trivial

    Project: James
 Components: 
             MailStore & MailRepository
   Versions:
             2.2.0a19
             2.2.0a18
             2.1.3
             2.0a3

   Assignee: 
   Reporter: Peter M. Goldstein

    Created: Sat, 3 Aug 2002 3:32 PM
    Updated: Tue, 13 Apr 2004 9:39 PM
Environment: Operating System: Other
Platform: Other

Description:
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.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org