james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 11445] New: - The pos variable in the Serializable MailAddress should be transient
Date Sat, 03 Aug 2002 15:32:40 GMT
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:   <mailto:james-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:james-dev-help@jakarta.apache.org>


Mime
View raw message