Closed David-Development closed 7 months ago
The method wrapEmptyResponseCall inside the Retrofit2Helper is not used at all - and thus can be safely removed. If the response is null and the return type is correctly specified as Call<EmptyResponse> then the EMPTY_RESPONSE will be returned
wrapEmptyResponseCall
Call<EmptyResponse>
EMPTY_RESPONSE
The method
wrapEmptyResponseCall
inside the Retrofit2Helper is not used at all - and thus can be safely removed. If the response is null and the return type is correctly specified asCall<EmptyResponse>
then theEMPTY_RESPONSE
will be returned