◐ Shell
clean mode source ↗

Lower bounds check on IntList get by smarasca5 · Pull Request #1477 · processing/processing4

Title: Lower bounds check on IntList get

Resolves #1415

Changes: Added a lower bound within the if statement of the get method within IntList. There was no lower bounds check within this method before. Now it throws exception if index is negative.

Tests: tests within IntListTest

Checklist: Tests pass and branch is up to date