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 bu...@apache.org on 2002/08/03 17:32:40 UTC

DO NOT REPLY [Bug 11445] New: - The pos variable in the Serializable MailAddress should be transient

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11445>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11445

The pos variable in the Serializable MailAddress should be transient

           Summary: The pos variable in the Serializable MailAddress should
                    be transient
           Product: James
           Version: 2.0a3
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: MailStore & MailRepository
        AssignedTo: james-dev@jakarta.apache.org
        ReportedBy: farsight@alum.mit.edu


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 unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>