fix sonarQube code smells

2 jobs for code_review_changes in 3 minutes and 59 seconds
latest
Status Job ID Name Coverage
  Windows
passed masterJobWindows #267009
Windows10

00:02:21

 
  Linux
passed BranchJobLinux #267010

00:01:38