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

Remove nullcheck for known non-null variable #2187

Merged
merged 1 commit into from
Oct 28, 2018

Conversation

vpop
Copy link
Contributor

@vpop vpop commented Aug 23, 2016

mDrawable is already checked for null in line 138 of the draw(...) method:

if (mDrawable == null) return;

@almic almic merged commit 129ad15 into PhilJay:master Oct 28, 2018
@vpop vpop deleted the update/redundant-nullcheck branch November 17, 2018 00:33
regas99 pushed a commit to regas99/MPAndroidChart that referenced this pull request Apr 1, 2019
Remove nullcheck for known non-null variable
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