myKeywordsInSet.add(s);
}
public boolean contains(String s) {
return myKeywordsInSet.contains(s);
}
<BUG>private boolean contains(int hashCode, final CharSequence buffer, int offset) {
</BUG>
int modHashCode = hashCode % NUM_ENTRIES;
final char[] kwd = myTable[modHashCode];
<BUG>if (kwd == null) return false;
for (int j = 0; j < kwd.length; j++) {
if (buffer.charAt(j + offset) != kwd[j]) return false;
}</BUG>
return true;

myKeywordsInSet.add(s);
}
public boolean contains(String s) {
return myKeywordsInSet.contains(s);
}
private boolean contains(int hashCode, final char[] bufferArray, final CharSequence buffer, int offset) {
int modHashCode = hashCode % NUM_ENTRIES;
final char[] kwd = myTable[modHashCode];
if (kwd == null) return false;
if (bufferArray != null) {
for (int j = 0; j < kwd.length; j++) {
if (bufferArray[j + offset] != kwd[j]) return false;
