IDEMPIERE-454 Easy import / fix problem with java7
This commit is contained in:
parent
5a5712fb71
commit
31c808cf7c
|
@ -219,8 +219,11 @@ public class GridTabCSVImporter implements IGridTabImporter
|
|||
sortedtTabMapIndexes = new TreeMap<GridTab,Integer>(bvc);
|
||||
sortedtTabMapIndexes.putAll(tabMapIndexes);
|
||||
}else{
|
||||
sortedtTabMapIndexes = new TreeMap<GridTab,Integer>();
|
||||
sortedtTabMapIndexes.put(gridTab,header.size()-1);
|
||||
Map<GridTab,Integer> localMapIndexes = new HashMap<GridTab,Integer>();
|
||||
localMapIndexes.put(gridTab, header.size()-1);
|
||||
ValueComparator bvc = new ValueComparator(localMapIndexes);
|
||||
sortedtTabMapIndexes = new TreeMap<GridTab,Integer>(bvc);
|
||||
sortedtTabMapIndexes.putAll(localMapIndexes);
|
||||
}
|
||||
|
||||
CellProcessor[] processors = readProcArray.toArray(new CellProcessor[readProcArray.size()]);
|
||||
|
|
Loading…
Reference in New Issue