So that one can do this:

<snip>
assertEquals(Response.Status.OK, status);
</snip>

instead of this:

<snip>
assertEquals(Response.Status.OK.getStatusCode(), status.getStatusCode());
</snip>

--jason


On May 29, 2010, at 11:26 PM, Jason Dillon wrote:

> ... should provide a toString(), and equals() and hashCode(), so that 
> checking the equality of a Status to a StatusType works as one might expect 
> it would (or as I expect it should).
> 
> --jason

Reply via email to