Skip to content

Commit

Permalink
use primitive. Avoid Boolean reference type that could introduce nulls.
Browse files Browse the repository at this point in the history
  • Loading branch information
praveenkumar-aa committed May 30, 2024
1 parent 4f51a42 commit 66e7575
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public Map<String, Value> bindInputs(List<Input> inputs,
List<Input> missingInputs,
boolean useEmptyValuesForPrompts,
Map<String, Prompt> prompts,
Boolean isCslangPromptEnabled) {
boolean isCslangPromptEnabled) {
Map<String, Value> resultContext = new LinkedHashMap<>();

// we do not want to change original context map
Expand All @@ -80,7 +80,7 @@ public Map<String, Value> bindInputs(List<Input> inputs,
private void bindInput(Input input, Map<String, ? extends Value> context,
Map<String, Value> promptContext, Map<String, Value> targetContext,
Set<SystemProperty> systemProperties, List<Input> missingInputs,
boolean useEmptyValuesForPrompts, Boolean isCslangPromptEnabled) {
boolean useEmptyValuesForPrompts, boolean isCslangPromptEnabled) {
Value value;

String inputName = input.getName();
Expand Down

0 comments on commit 66e7575

Please sign in to comment.