private static class WordsScannerFileTypeIdIndexerAdapter extends FileTypeIdIndexer {
private WordsScanner myScanner;
public WordsScannerFileTypeIdIndexerAdapter(@NotNull final WordsScanner scanner) {
myScanner = scanner;
}
<BUG>public void map(final FileBasedIndex.FileContent inputData, final IndexDataConsumer<IdIndexEntry, Integer> consumer) {
final CharSequence chars = inputData.content;
final char[] charsArray = CharArrayUtil.fromSequenceWithoutCopying(chars);
myScanner.processWords(chars, new Processor<WordOccurrence>() {</BUG>
public boolean process(final WordOccurrence t) {

private static class WordsScannerFileTypeIdIndexerAdapter extends FileTypeIdIndexer {
private WordsScanner myScanner;
public WordsScannerFileTypeIdIndexerAdapter(@NotNull final WordsScanner scanner) {
myScanner = scanner;
}
public Map<IdIndexEntry, Integer> map(final FileBasedIndex.FileContent inputData) {
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) {
