gallandarakhneorg / afc

Arakhnê Foundation Classes
http://www.arakhne.org/afc/
Apache License 2.0
14 stars 8 forks source link

Fixing squid: S2159 Silly equality checks should not be made #158

Closed devFozgul closed 8 years ago

devFozgul commented 8 years ago

This pull request is focused on resolving occurrences of Sonar rule squid:S2159 - “Silly equality checks should not be made ”. This PR will remove 150 min of TD. You can find more information about the issue here: https://dev.eclipse.org/sonar/rules/show/squid:S2159 Please let me know if you have any questions. Fevzi Ozgul

gallandarakhneorg commented 8 years ago

This is a wrong PR since it change the behavior of the functions. "==" operator has not the same semantic as "equals" function.