private List<String> arrayToList(String[] array){
  return Arrays.asList(array);
}

private List < String > arrayToList ( String [ ] array ) { return Arrays . asList ( array ) ; }
turns an array of strings into an list of strings .
