Use for-loops instead of Stream API and Collectors. Reformat code. Invert condition for smoother readability. Original pull request: #776.
Use for-loops instead of Stream API and Collectors. Reformat code. Invert condition for smoother readability. Original pull request: #776.