suggestions from intellij

This commit is contained in:
Claudio Atzori 2021-08-11 12:18:20 +02:00
parent 2ee21da43b
commit 61d811ba53
2 changed files with 3 additions and 3 deletions

View File

@ -20,7 +20,7 @@ import eu.dnetlib.dhp.collection.HttpConnector2;
public class EXCELParserTest {
private static Path workingDir;
private HttpConnector2 httpConnector = new HttpConnector2();
private final HttpConnector2 httpConnector = new HttpConnector2();
private static final String URL = "https://cordis.europa.eu/data/reference/cordisref-h2020topics.xlsx";
@BeforeAll

View File

@ -81,8 +81,8 @@ public class PatchRelationApplicationTest {
PatchRelationsApplication.main(new String[] {
"-isSparkSessionManaged", Boolean.FALSE.toString(),
"-graphBasePath", graphBasePath,
"-workingDir", workingDir.toString() + "/workingDir",
"-idMappingPath", workingDir.toString() + "/" + ID_MAPPING_PATH
"-workingDir", workingDir + "/workingDir",
"-idMappingPath", workingDir + "/" + ID_MAPPING_PATH
});
final List<Relation> rels = spark