CS5500-S-2023 / team-bear

team-bear created by GitHub Classroom
0 stars 0 forks source link

Resolve null warnings and Objects.requirenonnull with null checks and exceptions #115

Closed tsanevp closed 1 year ago

tsanevp commented 1 year ago
Topic | Criteria (What to include in each row) -- | -- User Story | N/A - Cleaning up code to make the codebase look good. Dependencies | N/A - Cleaning up code to make the codebase look good. Plan/Design Process | Plan is to search the codebase for Objects.requireNonnull and replace it with null checks or exceptions if needed. Code | Replace Objects.requireNonnull with null checks or exceptions if needed. Acceptance Criteria | This can be pushed and will be done with all needed replacements are complete and all null issues are resolved to 0.
tsanevp commented 1 year ago

This was completed, see PR for full details of what was changes. I essentially added in null checks to the discord package classes that throw and log the exceptions. This way we can keep track of the errors and bugs that occur and fix them over time.