Skip to content

Commit e03c945

Browse files
committed
added <>
Signed-off-by: Lucas Dario Stocksmeier <[email protected]> Signed-off-by: Lucas Dario Stocksmeier <[email protected]>
1 parent c3f1408 commit e03c945

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

validation/src/main/java/io/serverlessworkflow/validation/WorkflowValidatorImpl.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public class WorkflowValidatorImpl implements WorkflowValidator {
4949

5050
private static final Logger logger = LoggerFactory.getLogger(WorkflowValidatorImpl.class);
5151
private boolean schemaValidationEnabled = true;
52-
private List<ValidationError> validationErrors = new ArrayList();
52+
private List<ValidationError> validationErrors = new ArrayList<>();
5353
private Schema workflowSchema = WorkflowSchemaLoader.getWorkflowSchema();
5454
private String source;
5555
private Workflow workflow;
@@ -441,7 +441,7 @@ private void addValidationError(String message,
441441
private class Validation {
442442

443443
final Set<String> events = new HashSet<>();
444-
final Set<String> functions = new HashSet();
444+
final Set<String> functions = new HashSet<>();
445445
final Set<String> states = new HashSet<>();
446446
Integer endStates = 0;
447447

0 commit comments

Comments
 (0)