From cd45f8e29a3fc96b3a6c1cc93efc9d9b9f57ff55 Mon Sep 17 00:00:00 2001 From: Alexey Kudravtsev Date: Thu, 16 Jan 2014 15:21:32 +0400 Subject: [PATCH] EA-52792 - assert: PsiSearchHelperImpl.getFilesWithText --- .../src/com/intellij/psi/impl/search/PsiSearchHelperImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/indexing-impl/src/com/intellij/psi/impl/search/PsiSearchHelperImpl.java b/platform/indexing-impl/src/com/intellij/psi/impl/search/PsiSearchHelperImpl.java index 79434f98cdf0..b91ac03f53c1 100644 --- a/platform/indexing-impl/src/com/intellij/psi/impl/search/PsiSearchHelperImpl.java +++ b/platform/indexing-impl/src/com/intellij/psi/impl/search/PsiSearchHelperImpl.java @@ -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();