Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add assertions to Command class to ensure valid input and state
- Added assertions in the constructor to verify that `inputParts` is not null and contains at least one element. - Ensured that `command` is not null or empty, and `tasks` is not null. - Included assertions in the `run` method to check that `command` is not null before processing. These changes help document assumptions and catch potential issues during development by validating key conditions.
- Loading branch information