code formatting

This commit is contained in:
Claudio Atzori 2021-11-15 17:07:16 +01:00
parent 668ac25224
commit bafa2990f3
2 changed files with 23 additions and 23 deletions

View File

@ -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);