Skip to content

Commit

Permalink
Chore: replace API marked for removal
Browse files Browse the repository at this point in the history
  • Loading branch information
dbmalkovsky committed Aug 17, 2023
1 parent 4d834ff commit c10678f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public void testShortJsonVariableSerialization() {
@Deployment(resources = "org/flowable/engine/test/api/runtime/oneTaskProcess.bpmn20.xml")
public void testFloatJsonVariableSerialization() {
Map<String, Object> vars = new HashMap<>();
vars.put("mapVariable", processEngineConfiguration.getObjectMapper().createObjectNode().put("minFloatVar", new Float(-1.5)));
vars.put("mapVariable", processEngineConfiguration.getObjectMapper().createObjectNode().put("minFloatVar", Float.valueOf((float)-1.5)));
ProcessInstance processInstance = runtimeService.startProcessInstanceByKey("oneTaskProcess", vars);

Expression expression = this.processEngineConfiguration.getExpressionManager().createExpression("#{mapVariable.minFloatVar}");
Expand Down

0 comments on commit c10678f

Please sign in to comment.