HttpResponseStatus.valueOf shoud not be final so that derived protocols can have the factory method with the same name
This commit is contained in:
parent
d216e321c8
commit
2dde1e9bac
@ -284,7 +284,7 @@ public class HttpResponseStatus implements Comparable<HttpResponseStatus> {
|
||||
* If the specified code is a standard HTTP status code, a cached instance
|
||||
* will be returned. Otherwise, a new instance will be returned.
|
||||
*/
|
||||
public static final HttpResponseStatus valueOf(int code) {
|
||||
public static HttpResponseStatus valueOf(int code) {
|
||||
switch (code) {
|
||||
case 100:
|
||||
return CONTINUE;
|
||||
|
Loading…
x
Reference in New Issue
Block a user