forked from D-Net/dnet-hadoop
code formatting
This commit is contained in:
parent
668ac25224
commit
bafa2990f3
|
@ -65,8 +65,8 @@ public class CreateActionSetSparkJob implements Serializable {
|
|||
final String outputPath = parser.get("outputPath");
|
||||
log.info("outputPath {}", outputPath);
|
||||
|
||||
final boolean shouldDuplicateRels =
|
||||
Optional.ofNullable(parser.get("shouldDuplicateRels"))
|
||||
final boolean shouldDuplicateRels = Optional
|
||||
.ofNullable(parser.get("shouldDuplicateRels"))
|
||||
.map(Boolean::valueOf)
|
||||
.orElse(Boolean.FALSE);
|
||||
|
||||
|
|
Loading…
Reference in New Issue