Commit b15e7b2
committed
Remove unnecessary .ToList() snapshot from RewriteRefPointers
Address review feedback: the assignment completes before the
foreach enumerator is created, and recursive calls only mutate
descendant objects, so snapshotting via .ToList() is not needed.
This makes the JsonObject and JsonArray iteration consistent.1 parent cfe2b3d commit b15e7b2
1 file changed
Lines changed: 3 additions & 2 deletions
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
581 | 581 | | |
582 | 582 | | |
583 | 583 | | |
584 | | - | |
585 | | - | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
586 | 587 | | |
587 | 588 | | |
588 | 589 | | |
| |||
0 commit comments