Browse Source

Merge branch 'temp_merge' into developing

pull/2472/head
Jiaju Zhuang 3 years ago
parent
commit
707ae70829
  1. 5
      easyexcel-core/src/main/java/com/alibaba/excel/metadata/csv/CsvDataFormat.java

5
easyexcel-core/src/main/java/com/alibaba/excel/metadata/csv/CsvDataFormat.java

@ -45,10 +45,11 @@ public class CsvDataFormat implements DataFormat {
if (index != null) {
return index;
}
index = (short)(formatList.size() + BuiltinFormats.MIN_CUSTOM_DATA_FORMAT_INDEX);
short indexPrimitive = (short)(formatList.size() + BuiltinFormats.MIN_CUSTOM_DATA_FORMAT_INDEX);
index = indexPrimitive;
formatList.add(format);
formatMap.put(format, index);
return index;
return indexPrimitive;
}
@Override

Loading…
Cancel
Save