Skip to content
Snippets Groups Projects
Commit 801a7afa authored by Florian Heck's avatar Florian Heck
Browse files

fix wrong cast in Reference#equals

parent dbff98ea
No related branches found
No related tags found
No related merge requests found
......@@ -135,8 +135,8 @@ public abstract class Reference {
return false;
}
Commit commit = (Commit) o;
return Objects.equals(id, commit.id) && Objects.equals(repo, commit.repo);
Reference ref = (Reference) o;
return Objects.equals(id, ref.id) && Objects.equals(repo, ref.repo);
}
@Override
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment