Skip to content

Commit bb8a6a0

Browse files
committed
fix: correct trimming header if someone put space in lang
1 parent 7ca7c80 commit bb8a6a0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/one/edee/babylon/imp0rt/ImportSheetProcessor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ private Map<Integer,String> createHeader(RowData headerData) {
6868
int col = 0;
6969
Map<Integer,String> header = new LinkedHashMap<>();
7070
for (CellData cellData : headerData.getValues()) {
71-
String cellValue = cellData.getFormattedValue();
71+
String cellValue = cellData.getFormattedValue().trim();
7272
header.put(col++, cellValue);
7373
}
7474
return header;

0 commit comments

Comments
 (0)