Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/org/jcodings/util/CaseInsensitiveBytesHash.java
Original file line number Diff line number Diff line change
@@ -54,11 +54,7 @@ public CaseInsensitiveBytesHashEntry() {
}

public boolean equals(byte[]bytes, int p, int end) {
if (this.end - this.p != end - p) return false;
if (this.bytes == bytes) return true;
int q = this.p;
while (q < this.end) if (ToLowerCaseTable[this.bytes[q++] & 0xff] != ToLowerCaseTable[bytes[p++] & 0xff]) return false;
return true;
return caseInsensitiveEquals(this.bytes, this.p, this.end, bytes, p, end);
}
}

0 comments on commit cb5dd1f

Please sign in to comment.