private static boolean isNullOrEmpty(final String s){
  return s == null || s.isEmpty();
}

private static boolean isNullOrEmpty ( final String s ) { return s == null || s . isEmpty ( ) ; }
returns true if the string to test is null nor empty .
