Skip to content

Commit b7028df

Browse files
authored
Merge pull request #95 from janaganh/unparen
Fixed parentheses warning - BugBash
2 parents 6a68da8 + ecd376f commit b7028df

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

api/src/main/java/io/serverlessworkflow/api/mapper/BaseObjectMapper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public BaseObjectMapper(JsonFactory factory,
2929
WorkflowPropertySource workflowPropertySource) {
3030
super(factory);
3131

32-
workflowModule = new WorkflowModule((workflowPropertySource));
32+
workflowModule = new WorkflowModule(workflowPropertySource);
3333

3434
configure(SerializationFeature.INDENT_OUTPUT,
3535
true);

api/src/main/java/io/serverlessworkflow/api/mapper/YamlObjectMapper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ public YamlObjectMapper() {
2626
}
2727

2828
public YamlObjectMapper(WorkflowPropertySource context) {
29-
super((new YAMLFactory()).enable(Feature.MINIMIZE_QUOTES), context);
29+
super(new YAMLFactory().enable(Feature.MINIMIZE_QUOTES), context);
3030
}
3131
}

0 commit comments

Comments
 (0)