提交 31fc07fd 编写于 作者: S Sam Judd

Add a toString() method for StringSignature.

Work toward #431.
上级 dc93f1f9
......@@ -41,4 +41,11 @@ public class StringSignature implements Key {
public void updateDiskCacheKey(MessageDigest messageDigest) throws UnsupportedEncodingException {
messageDigest.update(signature.getBytes(STRING_CHARSET_NAME));
}
@Override
public String toString() {
return "StringSignature{"
+ "signature='" + signature + '\''
+ '}';
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册