1 package com
.intellij
.openapi
.vcs
.changes
;
3 import com
.intellij
.openapi
.vcs
.FilePath
;
4 import org
.jetbrains
.annotations
.NotNull
;
5 import org
.jetbrains
.annotations
.Nullable
;
9 public class LocallyDeletedChange
{
10 private final String myPresentableUrl
;
11 private final FilePath myPath
;
13 public LocallyDeletedChange(@NotNull final FilePath path
) {
15 myPresentableUrl
= myPath
.getPresentableUrl();
18 public FilePath
getPath() {
23 public Icon
getAddIcon() {
28 public boolean equals(Object o
) {
29 if (this == o
) return true;
30 if (o
== null || getClass() != o
.getClass()) return false;
32 LocallyDeletedChange that
= (LocallyDeletedChange
)o
;
34 if (!myPresentableUrl
.equals(that
.myPresentableUrl
)) return false;
40 public int hashCode() {
41 return myPresentableUrl
.hashCode();
44 public String
getPresentableUrl() {
45 return myPresentableUrl
;
49 public String
getDescription() {