Skip to content
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

Fix lgtm.com alert: cannot test value equality of Integers using '==' operator #733

Merged
merged 1 commit into from
May 23, 2017

Conversation

sj
Copy link
Contributor

@sj sj commented May 4, 2017

This PR addresses an alert reported by lgtm.com: value equality of boxed Integers cannot be tested using the '==' operator.

There are about 130 other alerts (https://lgtm.com/projects/g/Sable/soot/alerts/) - most of which really look like they're worth fixing. However, they need someone with more knowledge of the Soot codebase to decide what's the best way to fix.

If you like you can enable PR check integration: lgtm will automatically review your changes and flag up any new alerts that are introduced. Other projects are actively using it - here's an example from NASA's OpenMBEE project fixing a potential resource leak before merging the PR: Open-MBEE/exec-cameo-mdk#105

Details: https://lgtm.com/projects/g/Sable/soot/snapshot/dist-1791462132-1492508422322/files/src/soot/jimple/spark/solver/PropCycle.java#V106

Hope this is the right way to contribute - let me know if there's anything else I can do!

@StevenArzt StevenArzt merged commit a52400c into soot-oss:develop May 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants