From 328a1ec01b29fef601ec645e915213573de18dc6 Mon Sep 17 00:00:00 2001 From: Scott Mitchell Date: Tue, 14 Jun 2016 09:28:35 -0700 Subject: [PATCH] cleanup from 819b26b Motivation: I cherry-picked 819b26b too soon. There were entries added to a deprecated class which should only go into the non-deprecated version of the class. Modifications: - Remove the static final variables that were added as duplicates to the deprecated class Result: Deprecated code does not grown in volume without need. --- .../java/io/netty/handler/codec/http/HttpHeaders.java | 8 -------- 1 file changed, 8 deletions(-) diff --git a/codec-http/src/main/java/io/netty/handler/codec/http/HttpHeaders.java b/codec-http/src/main/java/io/netty/handler/codec/http/HttpHeaders.java index 78229b4708..254f3cda64 100644 --- a/codec-http/src/main/java/io/netty/handler/codec/http/HttpHeaders.java +++ b/codec-http/src/main/java/io/netty/handler/codec/http/HttpHeaders.java @@ -358,10 +358,6 @@ public abstract class HttpHeaders implements Iterable> */ @Deprecated public static final class Values { - /** - * {@code "application/json"} - */ - public static final String APPLICATION_JSON = "application/json"; /** * {@code "application/x-www-form-urlencoded"} */ @@ -411,10 +407,6 @@ public abstract class HttpHeaders implements Iterable> * {@code "gzip"} */ public static final String GZIP = "gzip"; - /** - * {@code "gzip,deflate"} - */ - public static final String GZIP_DEFLATE = "gzip,deflate"; /** * {@code "identity"} */