From 8f522dcb2cdae3bbbd547a6180c3d6904565fc0a Mon Sep 17 00:00:00 2001 From: Greg Wilkins Date: Mon, 17 Oct 2016 12:23:19 +1100 Subject: [PATCH] fixed bad merge --- .../java/org/eclipse/jetty/http/CompressedContentFormat.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/jetty-http/src/main/java/org/eclipse/jetty/http/CompressedContentFormat.java b/jetty-http/src/main/java/org/eclipse/jetty/http/CompressedContentFormat.java index 9fe30ff48b9..ae05a59b751 100644 --- a/jetty-http/src/main/java/org/eclipse/jetty/http/CompressedContentFormat.java +++ b/jetty-http/src/main/java/org/eclipse/jetty/http/CompressedContentFormat.java @@ -61,9 +61,8 @@ public class CompressedContentFormat return true; int dashdash = tag.indexOf("--"); - if (dashdash>0) - return tag.charAt(0)== '"' && etag.charAt(0)=='"' && etag.regionMatches(1,tag,1,dashdash-2); + return etag.regionMatches(0,tag,0,dashdash-2); return false; } }