FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

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

Lower bounds check on IntList get - #1477

Merged
catilac merged 1 commit into
processing:mainfrom
smarasca5:lower-bounds-check-1415
Jul 2, 2026
Merged

Lower bounds check on IntList get#1477
catilac merged 1 commit into
processing:mainfrom
smarasca5:lower-bounds-check-1415

Conversation

smarasca5 commented Mar 11, 2026
edited
Loading

Copy link
Copy Markdown
Contributor

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

Copy link
Copy Markdown

We might want to squash the commits into a single commit thaat has a more descriptive name. That way there's one commit with all the small changes packed together, so looking at the history it will be clear what happened here.

Copy link
Copy Markdown

@FranciscoJ26 could you please review these changes

Copy link
Copy Markdown

LGTM

smarasca5 force-pushed the lower-bounds-check-1415 branch from 75ea3dd to 2ed09ee Compare March 23, 2026 18:40

Copy link
Copy Markdown
Contributor Author

newly updated! now has tests :) now ready for review

catilac left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Thank you so much @smarasca5 @marksherman

catilac merged commit 7b8f4a2 into processing:main Jul 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Lower bounds checking on IntList get method

4 participants


Back | FazBrowse Home | New Git URL