code: private List<?> convertDataToList(final Object data) {
  		if (data == null) {
  			return null;
  		} else if (data instanceof List) {
  			return (List<?>) data;
  		} else if (data instanceof Object[]) {
  			return Arrays.asList((Object[]) data);
  		} else {
  			return Arrays.asList(new Object[]{data});
  		}
  	}
docs: Convert the data to a list (if necessary).
  
  @param data the data to convert to a list
  @return the data converted to a list