package org.pikater.shared;

public class FieldVerifier
{
	public static boolean isStringNullOrEmpty(String arg)
	{
		return (arg == null) || arg.isEmpty(); 
	}
}

@@ -154,10 +154,395 @@
 (); %0A%09%7D%0A
+%09%0A%09public static boolean isValidEmail(String email)%0A%09%7B%0A%09%09boolean result = false;%0A%09%09if(!isStringNullOrEmpty(email))%0A%09%09%7B%0A%09%09%09String%5B%5D splitted = email.split(%22@%22);%0A%09%09%09if(splitted.length == 2)%0A%09%09%09%7B%0A%09%09%09%09// max email length: 64@255%0A%09%09%09%09if((splitted%5B0%5D.length() %3C= 64) && (splitted%5B1%5D.length() %3C= 255) && splitted%5B1%5D.contains(%22.%22))%0A%09%09%09%09%7B%0A%09%09%09%09%09result = true;%0A%09%09%09%09%7D%0A%09%09%09%7D%0A%09%09%7D%0A%09%09return result;%0A%09%7D%0A
 %7D%0A

Revert "Custom email validation won't be needed after all."