vpj-cd 2007-01-16 01:49:26 +00:00
parent c29313c86f
commit 7c76bdf292
1 changed files with 671 additions and 668 deletions

View File

@ -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
/** /**