From 774ea6980b130ea428ce47b969df087f0d92e4aa Mon Sep 17 00:00:00 2001 From: justmehyp <1435791775@qq.com> Date: Tue, 19 May 2020 12:34:36 +0800 Subject: [PATCH] Remove unused field 'digester' in Md4PasswordEncoder `private Digester digester;` defined in Md4PasswordEncoder is never used. So remove it. Closes gh-8553 --- .../security/crypto/password/Md4PasswordEncoder.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/crypto/src/main/java/org/springframework/security/crypto/password/Md4PasswordEncoder.java b/crypto/src/main/java/org/springframework/security/crypto/password/Md4PasswordEncoder.java index a0110e8612..7fe06a979d 100644 --- a/crypto/src/main/java/org/springframework/security/crypto/password/Md4PasswordEncoder.java +++ b/crypto/src/main/java/org/springframework/security/crypto/password/Md4PasswordEncoder.java @@ -83,8 +83,6 @@ public class Md4PasswordEncoder implements PasswordEncoder { private StringKeyGenerator saltGenerator = new Base64StringKeyGenerator(); private boolean encodeHashAsBase64; - private Digester digester; - public void setEncodeHashAsBase64(boolean encodeHashAsBase64) { this.encodeHashAsBase64 = encodeHashAsBase64;