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 31, 2024
1 parent 66e7575 commit 33d1cd7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ public void startExecutable(@Param(ScoreLangConstants.EXECUTABLE_INPUTS_KEY) Lis
Map<String, Value> magicVariables = magicVariableHelper.getGlobalContext(executionRuntimeServices);
List<Input> missingInputs = new ArrayList<>();
ReadOnlyContextAccessor context = new ReadOnlyContextAccessor(callArguments, magicVariables);
Boolean isCslangPromptEnabled = executionRuntimeServices.getCslangPromptsEnabledFlag();
boolean isCslangPromptEnabled = executionRuntimeServices.getCslangPromptsEnabledFlag();
Map<String, Value> boundInputValues = inputsBinding.bindInputs(
newExecutableInputs,
context.getMergedContexts(),
Expand Down

0 comments on commit 33d1cd7

Please sign in to comment.