EA-52792 - assert: PsiSearchHelperImpl.getFilesWithText

This commit is contained in:
Alexey Kudravtsev
2014-01-17 15:10:02 +04:00
parent 040aeb2148
commit cd45f8e29a
@@ -1,5 +1,5 @@
/*
* Copyright 2000-2013 JetBrains s.r.o.
* Copyright 2000-2014 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -463,7 +463,7 @@ public class PsiSearchHelperImpl implements PsiSearchHelper {
}
};
boolean success = processFilesWithText(scope, searchContext, caseSensitively, text, processor);
LOG.assertTrue(success);
// success == false means exception in index
}
finally {
myManager.finishBatchFilesProcessingMode();