public static String[] resolvePropertyOrder(String[] firstRow,Map<String,Object> propertyTypes){
  log.debug(".resolvePropertyOrder firstRow==" + Arrays.asList(firstRow));
  String[] result=null;
  if (isValidTitleRow(firstRow,propertyTypes)) {
    result=firstRow;
    log.debug(".resolvePropertyOrder using valid title row, propertyOrder==" + Arrays.asList(result));
  }
 else {
    throw new EPException("Cannot resolve the order of properties in the CSV file");
  }
  return result;
}

public static String [ ] resolvePropertyOrder ( String [ ] firstRow , Map < String , Object > propertyTypes ) { log . debug ( ".resolvePropertyOrder firstRow==" + Arrays . asList ( firstRow ) ) ; String [ ] result = null ; if ( isValidTitleRow ( firstRow , propertyTypes ) ) { result = firstRow ; log . debug ( ".resolvePropertyOrder using valid title row, propertyOrder==" + Arrays . asList ( result ) ) ; } else { throw new EPException ( "Cannot resolve the order of properties in the CSV file" ) ; } return result ; }
resolve the order of the properties that appear in the csv file , from the first row of the csv file .
