removed ide.debug.minProgressTime

This commit is contained in:
Alexey Kudravtsev
2014-09-18 20:24:09 +04:00
parent 9e063f1e57
commit c98638a3e1
2 changed files with 0 additions and 15 deletions
@@ -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
}
}
}
}
@@ -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