From fef2f997a7869d90a8a67f6e2009668db1581c86 Mon Sep 17 00:00:00 2001 From: Roman Shevchenko Date: Wed, 25 Aug 2010 15:09:35 +0400 Subject: [PATCH] ExecutorsQuery made transparent to INRE (EA-21144) --- .../com/intellij/openapi/project/IndexNotReadyException.java | 2 +- platform/util/src/com/intellij/util/ExecutorsQuery.java | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) rename platform/{platform-api => util}/src/com/intellij/openapi/project/IndexNotReadyException.java (95%) diff --git a/platform/platform-api/src/com/intellij/openapi/project/IndexNotReadyException.java b/platform/util/src/com/intellij/openapi/project/IndexNotReadyException.java similarity index 95% rename from platform/platform-api/src/com/intellij/openapi/project/IndexNotReadyException.java rename to platform/util/src/com/intellij/openapi/project/IndexNotReadyException.java index 070311e2b183..09bc99131384 100644 --- a/platform/platform-api/src/com/intellij/openapi/project/IndexNotReadyException.java +++ b/platform/util/src/com/intellij/openapi/project/IndexNotReadyException.java @@ -27,5 +27,5 @@ package com.intellij.openapi.project; * @see com.intellij.openapi.project.DumbAware * @author peter */ -public class IndexNotReadyException extends RuntimeException{ +public class IndexNotReadyException extends RuntimeException { } diff --git a/platform/util/src/com/intellij/util/ExecutorsQuery.java b/platform/util/src/com/intellij/util/ExecutorsQuery.java index 0886ae1bc425..0019ffe21519 100644 --- a/platform/util/src/com/intellij/util/ExecutorsQuery.java +++ b/platform/util/src/com/intellij/util/ExecutorsQuery.java @@ -17,6 +17,7 @@ package com.intellij.util; import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi.progress.ProcessCanceledException; +import com.intellij.openapi.project.IndexNotReadyException; import org.jetbrains.annotations.NotNull; import java.util.List; @@ -45,6 +46,9 @@ public final class ExecutorsQuery extends AbstractQuery