SonarQube Fix : Merge the enclosing if statement.
So I was fixing the sonarQube reported issues in our codebase.
here we have multiple if statement and those can be bundled together.
Non Compliant code :
Compliant Code :
here we have put the next if condition in the same if statement , we can also ...
hashcodehub.hashnode.dev1 min read