forked from D-Net/dnet-hadoop
suggestions from intellij
This commit is contained in:
parent
2ee21da43b
commit
61d811ba53
|
@ -20,7 +20,7 @@ import eu.dnetlib.dhp.collection.HttpConnector2;
|
||||||
public class EXCELParserTest {
|
public class EXCELParserTest {
|
||||||
|
|
||||||
private static Path workingDir;
|
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";
|
private static final String URL = "https://cordis.europa.eu/data/reference/cordisref-h2020topics.xlsx";
|
||||||
|
|
||||||
@BeforeAll
|
@BeforeAll
|
||||||
|
|
|
@ -81,8 +81,8 @@ public class PatchRelationApplicationTest {
|
||||||
PatchRelationsApplication.main(new String[] {
|
PatchRelationsApplication.main(new String[] {
|
||||||
"-isSparkSessionManaged", Boolean.FALSE.toString(),
|
"-isSparkSessionManaged", Boolean.FALSE.toString(),
|
||||||
"-graphBasePath", graphBasePath,
|
"-graphBasePath", graphBasePath,
|
||||||
"-workingDir", workingDir.toString() + "/workingDir",
|
"-workingDir", workingDir + "/workingDir",
|
||||||
"-idMappingPath", workingDir.toString() + "/" + ID_MAPPING_PATH
|
"-idMappingPath", workingDir + "/" + ID_MAPPING_PATH
|
||||||
});
|
});
|
||||||
|
|
||||||
final List<Relation> rels = spark
|
final List<Relation> rels = spark
|
||||||
|
|
Loading…
Reference in New Issue