Subversion Repositories javautils

Compare Revisions

Regard whitespace Rev 10 → Rev 11

/ViaThinkSoft Java Utils/src/de/viathinksoft/utils/mail/EMailAddress.java
190,7 → 190,7
* @return The email address with punycoded domain name and TLD.
*/
public String getMailAddressPunycodedDomain() {
if (this.domainPartPunycode.equals("")) {
if (this.domainPartPunycode.isEmpty()) {
return this.localPart;
} else {
return this.localPart + "@" + this.domainPartPunycode;
203,7 → 203,7
* @return The email address with internationalized domain name and TLD.
*/
public String getMailAddressUnicode() {
if (this.domainPartUnicode.equals("")) {
if (this.domainPartUnicode.isEmpty()) {
return this.localPart;
} else {
return this.localPart + "@" + this.domainPartUnicode;