# Correct one of the identical sub-expressions on both sides of operator SonarQube

What you will learn here about SonarQube

- Correct one of the identical sub-expressions on both sides of operator SonarQube

On the SonarQube we will have bug, correct one of the identical sub-expressions on both sides of operator when we have same expression on the both sides of operator.

### Correct one of the identical sub-expressions on both sides of operator SonarQube

It is very easy to solve bug Correct one of the identical sub-expressions on both sides of operator on sonarqube. Please follow the following steps to know, how to debug Correct one of the identical sub-expressions on both sides of operator bug on the sonarqube.

1)On the SonarQube we will get the bug Correct one of the identical sub-expressions on both sides of operator when we have same expression the both sides of operator which is shown below

2)Solution is very simple we just have to remove one expression which is shown below