forked from D-Net/dnet-hadoop
indentation
This commit is contained in:
parent
d6934f370e
commit
620e1307a3
|
@ -40,7 +40,8 @@ public class PartitionEventsByDsIdJob {
|
|||
|
||||
final ArgumentApplicationParser parser = new ArgumentApplicationParser(
|
||||
IOUtils
|
||||
.toString(PartitionEventsByDsIdJob.class
|
||||
.toString(
|
||||
PartitionEventsByDsIdJob.class
|
||||
.getResourceAsStream("/eu/dnetlib/dhp/broker/oa/od_partitions_params.json")));
|
||||
parser.parseArgument(args);
|
||||
|
||||
|
@ -63,7 +64,10 @@ public class PartitionEventsByDsIdJob {
|
|||
|
||||
final Set<String> validOpendoarIds = new HashSet<>();
|
||||
if (!opendoarIds.trim().equals("-")) {
|
||||
validOpendoarIds.addAll(Arrays.stream(opendoarIds.split(","))
|
||||
validOpendoarIds
|
||||
.addAll(
|
||||
Arrays
|
||||
.stream(opendoarIds.split(","))
|
||||
.map(String::trim)
|
||||
.filter(StringUtils::isNotBlank)
|
||||
.map(s -> OPENDOAR_NSPREFIX + DigestUtils.md5Hex(s))
|
||||
|
|
Loading…
Reference in New Issue