mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-08 03:29:08 +07:00
Removed deprecated OWN_THREAD, SHARED_THREAD. Made Alarm more strict by not accepting POOLED_THREAD without disposable
This commit is contained in:
@@ -50,7 +50,7 @@ public class FindInEditorTest extends LightCodeInsightTestCase {
|
||||
|
||||
private void initFind() {
|
||||
SearchResults searchResults = new SearchResults(getEditor(), getProject());
|
||||
myLivePreviewController = new LivePreviewController(searchResults, null);
|
||||
myLivePreviewController = new LivePreviewController(searchResults, null, getTestRootDisposable());
|
||||
myFindModel.addObserver(findModel -> myLivePreviewController.updateInBackground(myFindModel, true));
|
||||
myLivePreviewController.on();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user