Change type of X_FRAME_OPTIONS and CONTENT_SECURITY_POLICY to AsciiString as a followup to cc1a209185

This commit is contained in:
Norman Maurer 2017-06-27 08:37:46 +02:00
parent ba3616da3e
commit 3b5dd4e9dc

View File

@ -147,7 +147,7 @@ public final class HttpHeaderNames {
/**
* {@code "content-security-policy"}
*/
public static final CharSequence CONTENT_SECURITY_POLICY = new AsciiString("content-security-policy");
public static final AsciiString CONTENT_SECURITY_POLICY = new AsciiString("content-security-policy");
/**
* {@code "content-type"}
*/
@ -353,7 +353,7 @@ public final class HttpHeaderNames {
/**
* {@code "x-frame-options"}
*/
public static final CharSequence X_FRAME_OPTIONS = new AsciiString("x-frame-options");
public static final AsciiString X_FRAME_OPTIONS = new AsciiString("x-frame-options");
private HttpHeaderNames() { }
}