smarter DatePicker for ISO dates on dateofacceptance #115

Closed
alessia.bardi wants to merge 12 commits from alessia.bardi/dnet-hadoop:datepicker into master
2 changed files with 4 additions and 3 deletions
Showing only changes of commit ea9b00ce56 - Show all commits

View File

@ -32,7 +32,7 @@ public class EXCELParser {
XSSFSheet sheet = wb.getSheet(sheetName);
if(sheetName == null){
if (sheetName == null) {
throw new RuntimeException("Sheet name " + sheetName + " not present in current file");
}

View File

@ -35,8 +35,9 @@ public class EXCELParserTest {
EXCELParser excelParser = new EXCELParser();
List<Object> pl = excelParser
.parse(httpConnector.getInputSourceAsStream(URL), "eu.dnetlib.dhp.actionmanager.project.utils.ExcelTopic");
final String classForName = "eu.dnetlib.dhp.actionmanager.project.utils.ExcelTopic";
final String sheetName = "Topics";
List<Object> pl = excelParser.parse(httpConnector.getInputSourceAsStream(URL), classForName, sheetName);
Assertions.assertEquals(3837, pl.size());