diff --git a/src/main/java/io/jsonwebtoken/Header.java b/src/main/java/io/jsonwebtoken/Header.java index de60e918..2672c6c5 100644 --- a/src/main/java/io/jsonwebtoken/Header.java +++ b/src/main/java/io/jsonwebtoken/Header.java @@ -51,8 +51,9 @@ public interface Header> extends Map { /** JWT {@code Compression Algorithm} header parameter name: "zip" */ public static final String COMPRESSION_ALGORITHM = "zip"; - /** JJWT legacy/deprecated {@code Compression Algorithm} header parameter names "calg" + /** JJWT legacy/deprecated compression algorithm header parameter name: "calg" * @deprecated use {@link #COMPRESSION_ALGORITHM} instead. */ + @Deprecated public static final String DEPRECATED_COMPRESSION_ALGORITHM = "calg"; /**