commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xavier Detant (JIRA)" <j...@apache.org>
Subject [jira] [Created] (EMAIL-118) smtpPort setter and getter doesn't works with the same type in EmailClass
Date Sun, 10 Jun 2012 13:52:42 GMT
Xavier Detant created EMAIL-118:
-----------------------------------

             Summary: smtpPort setter and getter doesn't works with the same type in EmailClass
                 Key: EMAIL-118
                 URL: https://issues.apache.org/jira/browse/EMAIL-118
             Project: Commons Email
          Issue Type: Improvement
    Affects Versions: 1.3
            Reporter: Xavier Detant
            Priority: Trivial


The smtpPort in the Email class can be set as an int but is get as a String. This is quite
bad design, the getter and the setter should works with the same type. As smtp ports is a
number, the getter which is currently _public String getSmtpPort()_ should be _public int
getSmtpPort()_:

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message