From 93dd9cc639fa52cb36d617740cb097b42b805186 Mon Sep 17 00:00:00 2001 From: Claudio Atzori Date: Tue, 23 Apr 2024 11:28:00 +0200 Subject: [PATCH] code formatting --- .../webcrawl/CreateActionSetFromWebEntries.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dhp-workflows/dhp-aggregation/src/main/java/eu/dnetlib/dhp/actionmanager/webcrawl/CreateActionSetFromWebEntries.java b/dhp-workflows/dhp-aggregation/src/main/java/eu/dnetlib/dhp/actionmanager/webcrawl/CreateActionSetFromWebEntries.java index 4035eb33a..eb370e981 100644 --- a/dhp-workflows/dhp-aggregation/src/main/java/eu/dnetlib/dhp/actionmanager/webcrawl/CreateActionSetFromWebEntries.java +++ b/dhp-workflows/dhp-aggregation/src/main/java/eu/dnetlib/dhp/actionmanager/webcrawl/CreateActionSetFromWebEntries.java @@ -77,7 +77,7 @@ public class CreateActionSetFromWebEntries implements Serializable { isSparkSessionManaged, spark -> { - createActionSet(spark, inputPath, outputPath ); + createActionSet(spark, inputPath, outputPath); }); } @@ -143,7 +143,7 @@ public class CreateActionSetFromWebEntries implements Serializable { return createAffiliatioRelationPair( PMCID_PREFIX + IdentifierFactory - .md5(PidCleaner.normalizePidValue(PidType.pmc.toString(), removeResolver("PMC" , pmcid))), + .md5(PidCleaner.normalizePidValue(PidType.pmc.toString(), removeResolver("PMC", pmcid))), ror); } @@ -159,7 +159,7 @@ public class CreateActionSetFromWebEntries implements Serializable { } private static String removeResolver(String pidType, String pid) { - switch (pidType){ + switch (pidType) { case "PMID": return pid.substring(33); case "PMC": @@ -179,7 +179,7 @@ public class CreateActionSetFromWebEntries implements Serializable { return createAffiliatioRelationPair( DOI_PREFIX + IdentifierFactory - .md5(PidCleaner.normalizePidValue(PidType.doi.toString(), removeResolver("DOI" ,doi))), + .md5(PidCleaner.normalizePidValue(PidType.doi.toString(), removeResolver("DOI", doi))), ror); }