From c98638a3e1db355d8f1344fa3e0876c50d40431b Mon Sep 17 00:00:00 2001 From: Alexey Kudravtsev Date: Thu, 18 Sep 2014 16:04:52 +0400 Subject: [PATCH] removed ide.debug.minProgressTime --- .../openapi/progress/impl/ProgressManagerImpl.java | 14 -------------- platform/util/resources/misc/registry.properties | 1 - 2 files changed, 15 deletions(-) diff --git a/platform/platform-impl/src/com/intellij/openapi/progress/impl/ProgressManagerImpl.java b/platform/platform-impl/src/com/intellij/openapi/progress/impl/ProgressManagerImpl.java index 26d789c85cc0..dd69dbc18688 100644 --- a/platform/platform-impl/src/com/intellij/openapi/progress/impl/ProgressManagerImpl.java +++ b/platform/platform-impl/src/com/intellij/openapi/progress/impl/ProgressManagerImpl.java @@ -29,7 +29,6 @@ import com.intellij.openapi.util.Computable; import com.intellij.openapi.util.Disposer; import com.intellij.openapi.util.Ref; import com.intellij.openapi.util.ThrowableComputable; -import com.intellij.openapi.util.registry.Registry; import com.intellij.openapi.wm.WindowManager; import com.intellij.openapi.wm.ex.ProgressIndicatorEx; import com.intellij.psi.PsiLock; @@ -163,7 +162,6 @@ public class ProgressManagerImpl extends ProgressManager implements Disposable { throw new RuntimeException(e); } process.run(); - maybeSleep(); } finally { if (progress != null && progress.isRunning()) { @@ -480,16 +478,4 @@ public class ProgressManagerImpl extends ProgressManager implements Disposable { } } } - - private static void maybeSleep() { - final int debugProgressTime = Registry.intValue("ide.debug.minProgressTime"); - if (debugProgressTime > 0) { - try { - Thread.sleep(debugProgressTime); - } - catch (InterruptedException e) { - //ignore - } - } - } } diff --git a/platform/util/resources/misc/registry.properties b/platform/util/resources/misc/registry.properties index 56005e124799..8defc15a93fa 100644 --- a/platform/util/resources/misc/registry.properties +++ b/platform/util/resources/misc/registry.properties @@ -55,7 +55,6 @@ ide.debugger.inline.dark.fg.modified.color=161,131,10 ide.debugger.inline.dark.fg.modified.color.description=Inline modified values foreground for dark editor scheme ide.debugMode.description=Record additional information to make bug reports more informative. -ide.debug.minProgressTime=0 ide.forcedShowTooltip=alt ide.forcedShowTooltip.description=Shortcut for forced show tooltip. ide.popup.dropShadow=false