Skip to content

Commit

Permalink
Chore: replace API marked for removal (#3710)
Browse files Browse the repository at this point in the history
  • Loading branch information
dbmalkovsky authored Aug 17, 2023
1 parent 2c8558d commit 047b61d
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 047b61d

Please sign in to comment.