This pull request introduces several enhancements to the utility classes:

  1. Constructor Hiding: Default constructors have been hidden for increased encapsulation.
  2. Readability Improvements: Conditions within if statements have been merged to enhance code clarity.
  3. Loop Optimizations: For loops have been optimized for improved performance.

These changes aim to enhance the maintainability, readability, and performance of the utility classes. Please review and provide feedback.

Comment From: snicoll

@achhibi thanks for the PR but we prefer to do such stylistic code change ourselves in general. With 57 changes files, and three different areas, it doesn't qualify as something actionable.

Going back to your suggestions:

  1. We prefer the current approach of making the class abstract. It's a matter of preference but changing it to another pattern is not something we're willing to merge
  2. I can't comment on any of the change you've made, but often the condition is not merged to make the code more obvious
  3. Loop optimizations, in particular by replacing by streams is not something we do consistently but only on a case by case basis. Again code readability is king.

Comment From: achhibi

@snicoll Thank you very much for your review.