1
0
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:
Andrey Vlasovskikh 2012-12-25 19:11:59 +04:00
parent a71c75b53e
commit f3cd21009b

View File

@ -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;