forked from D-Net/dnet-hadoop
GetCSV refactoring - fixed issue
This commit is contained in:
parent
f0845e9865
commit
335a824e34
|
@ -32,7 +32,7 @@ public class EXCELParser {
|
|||
|
||||
XSSFSheet sheet = wb.getSheet(sheetName);
|
||||
|
||||
if (sheetName == null) {
|
||||
if (sheet == null) {
|
||||
throw new IllegalArgumentException("Sheet name " + sheetName + " not present in current file");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue