mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
semi-revert "don't stop spell checker during headless run by timeout"
because tests hang otherwise
This commit is contained in:
@@ -136,7 +136,7 @@ public abstract class BaseSplitter implements Splitter {
|
||||
return new StringUtil.BombedCharSequence(substring) {
|
||||
@Override
|
||||
protected void checkCanceled() {
|
||||
if (ApplicationManager.getApplication().isHeadlessEnvironment()) return;
|
||||
//todo[anna] if (ApplicationManager.getApplication().isHeadlessEnvironment()) return;
|
||||
long l = System.currentTimeMillis();
|
||||
if (l >= myTime) {
|
||||
throw new ProcessCanceledException();
|
||||
|
||||
Reference in New Issue
Block a user