code: private String[] firstAndLastName(String name) {
  		if (name == null) {
  			return EMPTY_FIRST_AND_LAST_NAME_ARRAY;
  		}
  		String[] nameParts = name.split("\\s+");
  		if (nameParts.length == 1) {
  			return new String[] { nameParts[0], null };
  		} else {
  			return new String[] { nameParts[0], nameParts[nameParts.length - 1] };
  		}
  	}
docs: internal helpers