-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
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
Remove useless conditions #4163
Remove useless conditions #4163
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also 👍 to @MRamonLeon proposal but otherwise your tool seems to be nice.
Please provide more information ;)
For the comparison, all those elements are also detected by IntelliJ inspectors. I did not try the opposite, to see if IntelliJ provides more entries or not, that's another story ;)
Co-Authored-By: Ramon Leon <manuelramonleonjimenez@gmail.com>
@Wadeck, yes IntelliJ inspections are really nice. |
@Egor18 I would try to have a look at your project, it seems promising :) |
Will merge it tomorrow if no negative feedback. |
All these conditions are always true so they are meaningless and could be removed.
(I found this with the data-flow analyzer I'm working on)