【fix sonar】PasswordUtil文件
This commit is contained in:
+1
-1
@@ -177,7 +177,7 @@ public class PasswordUtil {
|
||||
*/
|
||||
public static byte[] hexStringToBytes(String hexString) {
|
||||
if (hexString == null || "".equals(hexString)) {
|
||||
return null;
|
||||
return new byte[0];
|
||||
}
|
||||
hexString = hexString.toUpperCase();
|
||||
int length = hexString.length() / 2;
|
||||
|
||||
Reference in New Issue
Block a user