solve bug [1636202] https://sourceforge.net/tracker/index.php?func=detail&aid=1636202&group_id=176962&atid=879332
This commit is contained in:
parent
c29313c86f
commit
7c76bdf292
|
@ -527,6 +527,8 @@ public class MUser extends X_AD_User
|
||||||
{
|
{
|
||||||
if (ia == null)
|
if (ia == null)
|
||||||
return "NoEmail";
|
return "NoEmail";
|
||||||
|
else return ia.getAddress();
|
||||||
|
/*
|
||||||
if (true)
|
if (true)
|
||||||
return null;
|
return null;
|
||||||
|
|
||||||
|
@ -544,7 +546,7 @@ public class MUser extends X_AD_User
|
||||||
{
|
{
|
||||||
System.out.println(en.next());
|
System.out.println(en.next());
|
||||||
}
|
}
|
||||||
/**/
|
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
|
@ -552,6 +554,7 @@ public class MUser extends X_AD_User
|
||||||
return e.getLocalizedMessage();
|
return e.getLocalizedMessage();
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
|
*/
|
||||||
} // validateEmail
|
} // validateEmail
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -560,7 +563,7 @@ public class MUser extends X_AD_User
|
||||||
*/
|
*/
|
||||||
public boolean isEMailValid()
|
public boolean isEMailValid()
|
||||||
{
|
{
|
||||||
return validateEmail(getInternetAddress()) == null;
|
return validateEmail(getInternetAddress()) != null;
|
||||||
} // isEMailValid
|
} // isEMailValid
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue