netty5/codec-http
Nikolay Fedorovskikh 272f26f68c Remove unnecessary instantiation of HttpResponseStatus
Motivation:
- In the `HttpResponseStatus#equals` checks only status code. No need to create new instance of `HttpResponseStatus` for comparison with response status.
- The RFC says: `the HTTP version and reason phrase aren't important` [1].

Modifications:
Use comparison by status code without creating new `HttpResponseStatus`.

Result:
Less allocations, more clear code.

[1] https://tools.ietf.org/html/draft-ietf-hybi-thewebsocketprotocol-00
2017-10-02 08:10:47 +02:00
..
src Remove unnecessary instantiation of HttpResponseStatus 2017-10-02 08:10:47 +02:00
pom.xml [maven-release-plugin] prepare for next development iteration 2017-09-21 19:47:23 +00:00