Minor: delete PlainText implementation
- It never gets used anymore and could cause security issues if we did accidentally use it as EncryptionMethod
This commit is contained in:
@@ -81,7 +81,7 @@ public class HashAlgorithmIntegrationTest {
|
||||
|
||||
// when
|
||||
for (HashAlgorithm hashAlgorithm : HashAlgorithm.values()) {
|
||||
if (hashAlgorithm != HashAlgorithm.CUSTOM) {
|
||||
if (hashAlgorithm != HashAlgorithm.CUSTOM && hashAlgorithm != HashAlgorithm.PLAINTEXT) {
|
||||
boolean isEnumDeprecated = HashAlgorithm.class.getDeclaredField(hashAlgorithm.name())
|
||||
.isAnnotationPresent(Deprecated.class);
|
||||
boolean isDeprecatedClass = hashAlgorithm.getClazz().isAnnotationPresent(Deprecated.class);
|
||||
|
||||
Reference in New Issue
Block a user