We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
UseCollectionIsEmpty violation fix inverts condition from if( list1.size() > 0 ){ ... }
to if( list1.isEmpty() ){ ... }
The text was updated successfully, but these errors were encountered:
There are many other cases, which may fail. Such as - if (0 < list.size) list.size >= 1 etc. Please refer to below link - https://github.com/walkmod/walkmod-core/issues/73
The change is attached in this link. Can someone review the changes, and place the fix. As, I am not able to create pull request ?
Sorry, something went wrong.
No branches or pull requests
UseCollectionIsEmpty violation fix inverts condition
from
if( list1.size() > 0 ){ ... }
to
if( list1.isEmpty() ){ ... }
The text was updated successfully, but these errors were encountered: