You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2003/08/15 23:14:19 UTC

DO NOT REPLY [Bug 22474] New: - [PATCH] Enhancement to EmailAddress

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=22474>.
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=22474

[PATCH]  Enhancement to EmailAddress

           Summary: [PATCH]  Enhancement to EmailAddress
           Product: Ant
           Version: 1.1
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: michael.davey@coderage.org


Ant will on occasions pass an email address to EmailAddress's constructor in
the form "name <address>" (rather than creating an empty object and then calling
setName() and setAddress() ).  The constructor does not correctly set the name
attribute.

This patch enhances the EmailAddress(String) constructor to parse the supplied
string thus setting the name and address attributes correctly.

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