szetszwo commented on code in PR #1316:
URL: https://github.com/apache/ratis/pull/1316#discussion_r2542753901
##########
ratis-common/src/main/java/org/apache/ratis/io/MD5Hash.java:
##########
@@ -186,17 +87,18 @@ public String toString() {
return buf.toString();
}
- /** Sets the digest value from a hex string. */
- public void setDigest(String hex) {
+ public static MD5Hash newInstance(String hex) {
Review Comment:
Sure. Let me also rewrite the javadoc.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]