New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Identical expressions should not be used on both sides of a binary operator #625
Identical expressions should not be used on both sides of a binary operator #625
Conversation
… sides of a binary operator
It looks like racing error in Travis build:
|
I had this problem yesterday as well. It seems that you created your branch before the modularized JS PR #590 got merged. You need to pull the latest master to fix it. |
Ouch, that is a good catch! Thanks! We would need a unit test to ensure that this won't happen in the future again. And would you mind to electronically 'sign' the CLA: https://www.clahub.com/agreements/graphhopper/graphhopper The travis failure is indeed strange. I've restarted them and they still fail. It looks like we need to mess with access rights: npm/npm#4815 (comment) very strange |
@ratrun The parent for the commit [791932f] |
@karussell Trying to sign CLA, but the result page shows the message: "We're sorry, but something went wrong." |
@kirill-vlasov thanks, that is ugly. The project hosting is probably something that is problematic as the maintainer needs some help there. Will investigate next week. |
BTW: not a bug as the test is done again in the size check in the next line. So the entire line should be removed instead. |
Thanks again - this was indeed bug. In case of PointList.EMPTY we need this explicit check to avoid calling methods making no sense for an empty PointList like is3D (could be true or yes) |
This pull request is focused on resolving occurrences of Sonar rule squid:S1764 - Identical expressions should not be used on both sides of a binary operator
You can find more information about the issue here:
https://dev.eclipse.org/sonar/coding_rules#q=squid:S1764
Please let me know if you have any questions.
Kirill Vlasov