Skip to content

Conversation

@sblackshear
Copy link

Getting rid of a try/catch block that presumably exists to catch a NPE on the return value of list.getAdapter. This pull request allows the removal of this block by checking that the return value of list.getAdapter is non-null and has the expected ListAdapter type. This check on the return value of list.getAdapter is used in several other places in the code.

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.

1 participant