mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-31 20:52:13 +01:00
31284feb9b
By now, all calls to `addCode()` were followed by a call to `sortCodes()`, and it seems like a task for SketchData to keep its list sorted. Previously, this separation made some sense, since `addCode()` was also used while loading a sketch, and you would only want to sort once. Now, sketch loading uses a SortedSet, so this is no longer a requirement.