Commit 09209ba0 authored by Fischer, Tim's avatar Fischer, Tim
Browse files

Fixed reference naming error

parent 6698a4a9
......@@ -30,8 +30,7 @@ public class SmartExcelSheetBundlesSetSource implements BundlesSetSource {
String sheetType = sheet.getSheetName();
if(sheetName.contains(";")) {
sheetType = sheetName.substring(sheetName.indexOf(";")+1);
sheetName = sheetName.substring(0, sheetName.indexOf(";"));
this.reference = sheetName + "-" + UUID.randomUUID().toString() + "@@" + sheetName;
this.reference = sheetName.substring(0, sheetName.indexOf(";")) + "-" + UUID.randomUUID().toString() + "@@" + sheetType;
} else {
this.reference = "excel-" + UUID.randomUUID().toString() + "@@" + sheetName;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment