fixed bad merge

This commit is contained in:
Greg Wilkins 2016-10-17 12:23:19 +11:00
parent 81d98407a4
commit 8f522dcb2c
1 changed files with 1 additions and 2 deletions

View File

@ -61,9 +61,8 @@ public class CompressedContentFormat
return true; return true;
int dashdash = tag.indexOf("--"); int dashdash = tag.indexOf("--");
if (dashdash>0) 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; return false;
} }
} }