Commit ab535d6
committed
chore(model): Drop unnecessary checks for visited nodes
When building the dependency graph out of the structure of
`DependencyReference` objects, it is not necessary to test whether a
node has already been visited. The way the structure has been created
ensures that it is free of cycles.
Signed-off-by: Oliver Heger <oliver.heger@bosch.com>1 parent 8311b15 commit ab535d6
1 file changed
Lines changed: 2 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
504 | 504 | | |
505 | 505 | | |
506 | 506 | | |
507 | | - | |
508 | 507 | | |
509 | 508 | | |
510 | 509 | | |
511 | 510 | | |
512 | 511 | | |
513 | | - | |
514 | | - | |
515 | | - | |
516 | | - | |
517 | | - | |
| 512 | + | |
| 513 | + | |
518 | 514 | | |
519 | 515 | | |
520 | 516 | | |
| |||
0 commit comments