mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
NotNull annotations (EA-44401)
This commit is contained in:
+1
-1
@@ -456,7 +456,7 @@ public abstract class EditorComposite implements Disposable {
|
||||
myFocusWatcher.deinstall(myFocusWatcher.getTopComponent());
|
||||
}
|
||||
|
||||
void addEditor(FileEditor editor) {
|
||||
void addEditor(@NotNull FileEditor editor) {
|
||||
ApplicationManager.getApplication().assertIsDispatchThread();
|
||||
FileEditor[] editors = ArrayUtil.append(myEditors, editor);
|
||||
if (myTabbedPaneWrapper == null) {
|
||||
|
||||
+1
-1
@@ -91,7 +91,7 @@ public class EditorWithProviderComposite extends EditorComposite {
|
||||
return new HistoryEntry(getFile(), providers, states, providers[selectedProviderIndex]);
|
||||
}
|
||||
|
||||
public void addEditor(FileEditor editor, FileEditorProvider provider) {
|
||||
public void addEditor(@NotNull FileEditor editor, FileEditorProvider provider) {
|
||||
addEditor(editor);
|
||||
myProviders = ArrayUtil.append(myProviders, provider);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user