Minor: Fix warnings
This commit is contained in:
+2
-1
@@ -169,6 +169,7 @@ public class UnsupportedAbiVersionNotificationPanelProvider extends EditorNotifi
|
|||||||
label.set(answer.createActionLabel(labelText, action));
|
label.set(answer.createActionLabel(labelText, action));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@NotNull
|
||||||
@Override
|
@Override
|
||||||
public Key<EditorNotificationPanel> getKey() {
|
public Key<EditorNotificationPanel> getKey() {
|
||||||
return KEY;
|
return KEY;
|
||||||
@@ -176,7 +177,7 @@ public class UnsupportedAbiVersionNotificationPanelProvider extends EditorNotifi
|
|||||||
|
|
||||||
@Nullable
|
@Nullable
|
||||||
@Override
|
@Override
|
||||||
public EditorNotificationPanel createNotificationPanel(VirtualFile file, FileEditor fileEditor) {
|
public EditorNotificationPanel createNotificationPanel(@NotNull VirtualFile file, @NotNull FileEditor fileEditor) {
|
||||||
try {
|
try {
|
||||||
if (file.getFileType() != JetFileType.INSTANCE) return null;
|
if (file.getFileType() != JetFileType.INSTANCE) return null;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user