Skip to content

Remove nullcheck for known non-null variable#2187

Merged
almic merged 1 commit into
PhilJay:masterfrom
vpop:update/redundant-nullcheck
Oct 28, 2018
Merged

Remove nullcheck for known non-null variable#2187
almic merged 1 commit into
PhilJay:masterfrom
vpop:update/redundant-nullcheck

Conversation

@vpop
Copy link
Copy Markdown
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