final CharSequence chars = inputData.content;
final char[] charsArray = CharArrayUtil.fromSequenceWithoutCopying(chars);
myScanner.processWords(chars, new Processor<WordOccurrence>() {</BUG>
public boolean process(final WordOccurrence t) {
if(charsArray != null && t.getBaseText() == chars) {
<BUG>addOccurrence(consumer, charsArray, t.getStart(),t.getEnd(),convertToMask(t.getKind()));
</BUG>
}
else {
<BUG>addOccurrence(consumer, t.getBaseText(), t.getStart(),t.getEnd(),convertToMask(t.getKind()));
</BUG>
}

final CharSequence chars = inputData.content;
final char[] charsArray = CharArrayUtil.fromSequenceWithoutCopying(chars);
final IdDataConsumer consumer = new IdDataConsumer();
myScanner.processWords(chars, new Processor<WordOccurrence>() {
public boolean process(final WordOccurrence t) {
if(charsArray != null && t.getBaseText() == chars) {
consumer.addOccurrence(charsArray, t.getStart(),t.getEnd(),convertToMask(t.getKind()));
}
else {
consumer.addOccurrence(t.getBaseText(), t.getStart(),t.getEnd(),convertToMask(t.getKind()));
}
