mirror of
https://github.com/chylex/IntelliJ-IdeaVim.git
synced 2025-03-01 13:46:02 +01:00
Fixed nullable annotation
This commit is contained in:
parent
a71c75b53e
commit
f3cd21009b
@ -20,6 +20,7 @@ package com.maddyhome.idea.vim.common;
|
||||
*/
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
import java.util.Comparator;
|
||||
|
||||
@ -50,7 +51,7 @@ public class Mark extends FileLocation {
|
||||
return key;
|
||||
}
|
||||
|
||||
public boolean equals(@NotNull Object object) {
|
||||
public boolean equals(@Nullable Object object) {
|
||||
if (object instanceof Mark) {
|
||||
if (((Mark)object).key == key) {
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user