Skip to content

Commit 1b11bad

Browse files
committed
Remove redudant code
1 parent 8bb6909 commit 1b11bad

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/main/java/com/apiflows/parser/source/WorkflowBinder.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,6 @@ Workflow findWorkflowById(String workflowId, List<Workflow> workflows) {
3333
for(Workflow w: workflows) {
3434
if(workflowId.equals(w.getWorkflowId())) {
3535
workflow = w;
36-
if(workflow == null) {
37-
workflow = w;
38-
}
3936
}
4037
}
4138

0 commit comments

Comments
 (0)