Skip to content

Commit

Permalink
NPE fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bradNASA committed Oct 2, 2024
1 parent b4cc768 commit b979aed
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -843,7 +843,7 @@ public SimulationActivityExtract computeActivitySimulationResults(
.stream()
.map(spanToActivityInstanceId::get)
.toList(),
(activityParents.containsKey(span)) ? Optional.empty() : Optional.of(directiveId)
(activityParents.containsKey(span)) ? Optional.empty() : Optional.ofNullable(directiveId)
));
}
});
Expand Down

0 comments on commit b979aed

Please sign in to comment.