mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-11-17 09:52:06 +01:00
Add HashAlgorithm.getAlgorithmName()
This commit is contained in:
parent
b05f6887bd
commit
937ec2aa86
1 changed files with 9 additions and 0 deletions
|
@ -87,4 +87,13 @@ public enum HashAlgorithm {
|
||||||
public int getAlgorithmId() {
|
public int getAlgorithmId() {
|
||||||
return algorithmId;
|
return algorithmId;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Return the text name of the hash algorithm.
|
||||||
|
*
|
||||||
|
* @return text name
|
||||||
|
*/
|
||||||
|
public String getAlgorithmName() {
|
||||||
|
return name;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue