Skip to content

Commit

Permalink
4.x: Fix inconsistent status name. (#5641)
Browse files Browse the repository at this point in the history
* Fix inconsistent status name.
  • Loading branch information
tomas-langer authored Dec 12, 2022
1 parent 1338623 commit ab8713e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions common/http/src/main/java/io/helidon/common/http/Http.java
Original file line number Diff line number Diff line change
Expand Up @@ -577,8 +577,17 @@ public static class Status {
* <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.5.6">HTTP/1.1 documentation</a>.
*
* @since 2.0
* @deprecated use {@link #HTTP_VERSION_NOT_SUPPORTED_505} instead (inconsistent name)
*/
@Deprecated(forRemoval = true, since = "3.0.3")
public static final Status HTTP_VERSION_NOT_SUPPORTED = new Status(505, "HTTP Version Not Supported", true);
/**
* 505 HTTP Version Not Supported, see
* <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.5.6">HTTP/1.1 documentation</a>.
*
* @since 3.0.3
*/
public static final Status HTTP_VERSION_NOT_SUPPORTED_505 = new Status(505, "HTTP Version Not Supported", true);

static {
// THIS MUST BE AFTER THE LAST CONSTANT
Expand Down

0 comments on commit ab8713e

Please sign in to comment.