git: deprecate SHAHash, use Hash instead

This commit is contained in:
Kirill Likhodedov
2016-02-02 18:39:01 +03:00
parent b09f75185b
commit 2234c5eb9d
@@ -15,8 +15,10 @@
*/
package git4idea.history.browser;
import git4idea.history.wholeTree.AbstractHash;
/**
* @deprecated Use {@link com.intellij.vcs.log.Hash}
*/
@Deprecated
public class SHAHash {
private final String myValue;
@@ -35,10 +37,6 @@ public class SHAHash {
return myValue;
}
public static SHAHash emulate(final AbstractHash abstractHash) {
return new SHAHash(abstractHash.getString(), false);
}
@Override
public String toString() {
return myValue;