Java beans getter and setters considered as duplicate code

Hi All,
I am using SonarQube * Community Edition * Version 8.9.6 (build 50800)

Two different Java beans getter and setters considered as duplicate code.
I have JavaBean1 which has getter and setter for customerType and there is another JavaBean2 which has same getter and setter.
SonarQube considers it as duplicate.getters and setter should be excluded from this rule.

Hi,

Your version is past EOL. You should upgrade to either the latest version or the current LTA (long-term active version) at your earliest convenience. Your upgrade path is:

8.9.6 → 9.9.4 → 10.4 (last step optional)

You may find these resources helpful:

If you have questions about upgrading, feel free to open a new thread for that here.

If your error persists after upgrade, please come back to us.