Removed deprecated OWN_THREAD, SHARED_THREAD. Made Alarm more strict by not accepting POOLED_THREAD without disposable

This commit is contained in:
Alexey Kudravtsev
2016-09-09 14:37:06 +03:00
parent c86e024759
commit bd2bb911f0
58 changed files with 183 additions and 165 deletions
@@ -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();
}