libraries/bot-connector/src/main/java/com/microsoft/bot/connector/rest/RestConversations.java [528:541]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    private ServiceResponse<Void> deleteActivityDelegate(
        Response<ResponseBody> response
    ) throws ErrorResponseException, IOException, IllegalArgumentException {

        return client.restClient()
            .responseBuilderFactory()
            .<Void, ErrorResponseException>newInstance(client.serializerAdapter())
            .register(HttpURLConnection.HTTP_OK, new TypeToken<Void>() {
            }.getType())
            .register(HttpURLConnection.HTTP_ACCEPTED, new TypeToken<Void>() {
            }.getType())
            .registerError(ErrorResponseException.class)
            .build(response);
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



libraries/bot-connector/src/main/java/com/microsoft/bot/connector/rest/RestUserToken.java [563:576]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    private ServiceResponse<Void> sendEmulateOAuthCardsDelegate(
        Response<ResponseBody> response
    ) throws ErrorResponseException, IOException, IllegalArgumentException {

        return client.restClient()
            .responseBuilderFactory()
            .<Void, ErrorResponseException>newInstance(client.serializerAdapter())
            .register(HttpURLConnection.HTTP_OK, new TypeToken<Void>() {
            }.getType())
            .register(HttpURLConnection.HTTP_ACCEPTED, new TypeToken<Void>() {
            }.getType())
            .registerError(ErrorResponseException.class)
            .build(response);
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



