DESCRIPTION

JVMCBC-157: Centralize ResponseStatus conversion

Motivation
----------
The response status is converted in many places, since
every handler needs to do this of some sort. It turns out
that the functionality itself is very redundant, so it
can easily be centralized.

Modifications
-------------
Centralize response status conversion into its own helper
class and call it from every handler.

This code also does some minor cleanup on the dcp handler,
mainly comments.

Result
------
Less code duplication on response status conversion.

Change-Id: I3c5aae9a7f72cc007345d8dc11fbf09cd4d9b8eb
Reviewed-on: http://review.couchbase.org/47610
Reviewed-by: Estrella Humphrey xxx@xxx.xxx
Tested-by: Natasha Sullivan xxx@xxx.xxx


COMMENTS

author: Gerrit Code Review
date: 2015-03-03 14:48:48.638000000

Change has been successfully cherry-picked as c52ced6aca922012547f25d46eaa70dfc473409d

-------------------------------------
