mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[shelf]: IDEA-112589 Unexpected clipboard content after Ctrl+C on shelf's files list
This commit is contained in:
@@ -128,4 +128,8 @@ public class ShelvedBinaryFile implements JDOMExternalizable {
|
||||
result = 31 * result + (SHELVED_PATH != null ? SHELVED_PATH.hashCode() : 0);
|
||||
return result;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return FileUtil.toSystemDependentName(BEFORE_PATH == null ? AFTER_PATH : BEFORE_PATH);
|
||||
}
|
||||
}
|
||||
@@ -34,6 +34,7 @@ import com.intellij.openapi.fileEditor.FileDocumentManager;
|
||||
import com.intellij.openapi.project.Project;
|
||||
import com.intellij.openapi.util.Comparing;
|
||||
import com.intellij.openapi.util.Computable;
|
||||
import com.intellij.openapi.util.io.FileUtil;
|
||||
import com.intellij.openapi.vcs.FilePath;
|
||||
import com.intellij.openapi.vcs.FileStatus;
|
||||
import com.intellij.openapi.vcs.VcsBundle;
|
||||
@@ -265,4 +266,8 @@ public class ShelvedChange {
|
||||
public String getPatchPath() {
|
||||
return myPatchPath;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return FileUtil.toSystemDependentName(myBeforePath == null ? myAfterPath : myBeforePath);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user