Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: remove duplicate null checks (#821)
# Motivation - Simplify the codebase by removing duplicate checks that were already performed earlier in the logic # Description - Removed two **if** statements checking for null values. - These conditions were confirmed to be already validated in the execution flow. - No changes to the functionality. # Testing - Logic wasn't changed in tests in the CI passed. # Impact - No impact on functionality as the redundant checks were unnecessary. # Additional Information - None # Checklist - [x] My code adheres to the coding and style guidelines of the project. - [x] I have performed a self-review of my code. - [x] I have commented my code, particularly in hard-to-understand areas. - [x] I have made corresponding changes to the documentation. - [x] I have thoroughly tested my modifications and added tests when necessary. - [x] Tests pass locally and in the CI. - [x] I have assessed the performance impact of my modifications.
- Loading branch information