-
Notifications
You must be signed in to change notification settings - Fork 299
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
Support org.apache.commons.lang3.StringUtils.isNotEmpty #932
Comments
The issue is that you call |
I know that the issue is closed, but it is not a similar case? KnownInitializers has been configured with org.apache.commons.collections4.isNotEmpty
And the error still appears at line 45
|
This is a different case. I don't think the https://github.com/uber/NullAway/wiki/Configuration#known-initializers For this case, we seem to be missing a model for the relevant NullAway/nullaway/src/main/java/com/uber/nullaway/handlers/LibraryModelsHandler.java Line 735 in e3a3c76
A PR with a fix would be welcome! |
Hello @msridhar . Would it just be sufficient to add a |
@pochopsp something like that should be sufficient, but we should write a test to be sure. And yeah I'm fine with supporting |
#1062) Thank you for contributing to NullAway! Please note that once you click "Create Pull Request" you will be asked to sign our [Uber Contributor License Agreement](https://cla-assistant.io/uber/NullAway) via [CLA assistant](https://cla-assistant.io/). Before pressing the "Create Pull Request" button, please provide the following: - [ ] Added library model for Apache Commons CollectionUtils.isNotEmpty - [ ] related to issue #932 - [ ] `void apacheCollectionsCollectionUtilsIsNotEmpty()` and `void apacheCollectionsCollectionUtilsIsNotEmpty()` tests have been added to `FrameworkTests.java`
Add method support for org.apache.commons.lang3.StringUtils.isNotEmpty
Following code rise a exception with all versions of nullaway including 0.10.24
Also I tried to use the following config but it not worked
same happens with
org.springframework.util.StringUtils
The text was updated successfully, but these errors were encountered: