Announcement

Collapse
No announcement yet.

Release 6.20.0: User class needs to support IPv6

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Release 6.20.0: User class needs to support IPv6

    Two methods are not conform to Bean style API and are confusing because getter method does not return what was set with setter method. This are the methods:
    ? getImapServer()
    ? getSmtpServer()

    Two getter methods now return what is set with the setter methods. So they just do, what the above mentioned methods should do according to Bean style API:

    ? getImapServerString() now returns value set with setImapServer()
    ? getSmtpServerString() now returns value set with setSmtpServer()

    The following methods are deprecated in the class User because they only work with IPv4 addresses or hostnames because they try to parse what is set with the above mentioned setters:
    ? getImapSchema()
    ? getImapPort()
    ? getSmtpSchema()
    ? getSmtpPort()

    When the deprecated methods get removed the following methods will return what was set with the setter methods. Currently they return only the hostname or the IPv4 address:
    ? getImapServer() should then return the value set with setImapServer()
    ? getSmtpServer() should then return the value set with setSmtpServer()
Working...
X