Skip to content

Update Request#parseNetworkResponse javadoc to disallow returning null #322

@jpd236

Description

@jpd236

Request#parseNetworkResponse claims it's okay to return null if a response can't be parsed. In reality, it seems like this would almost guarantee an NPE either in CacheDispatcher or ExecutorDelivery, so unless someone has an entirely custom ResponseDelivery, they probably already are returning Response.error rather than null. We should verify this and consider updating the Javadoc accordingly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions