public static String[] parseGroups(String csvRoles,String csvGroups){
  List<String> groups=new ArrayList<String>();
  parseCsv(groups,csvRoles);
  parseCsv(groups,csvGroups);
  return (String[])groups.toArray(new String[groups.size()]);
}

public static String [ ] parseGroups ( String csvRoles , String csvGroups ) { List < String > groups = new ArrayList < String > ( ) ; parseCsv ( groups , csvRoles ) ; parseCsv ( groups , csvGroups ) ; return ( String [ ] ) groups . toArray ( new String [ groups . size ( ) ] ) ; }
parses comma - separated - roles / groups into array of groups ( strings ) .
