mirror of
https://codeberg.org/PGPainless/sop-java.git
synced 2024-12-22 12:57:57 +01:00
toString() of enum options: Ensure lowercase
This commit is contained in:
parent
eddcc11c99
commit
3bc19b27ad
3 changed files with 21 additions and 3 deletions
|
@ -9,5 +9,11 @@ public enum ArmorLabel {
|
|||
Sig,
|
||||
Key,
|
||||
Cert,
|
||||
Message
|
||||
Message,
|
||||
;
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return super.toString().toLowerCase();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,5 +6,11 @@ package sop.enums;
|
|||
|
||||
public enum EncryptAs {
|
||||
Binary,
|
||||
Text
|
||||
Text,
|
||||
;
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return super.toString().toLowerCase();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -13,5 +13,11 @@ public enum SignAs {
|
|||
/**
|
||||
* Signature is made over the message in text mode.
|
||||
*/
|
||||
Text
|
||||
Text,
|
||||
;
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return super.toString().toLowerCase();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue