mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
git: deprecate SHAHash, use Hash instead
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user