You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Tsz Wo Nicholas Sze (JIRA)" <ji...@apache.org> on 2017/08/22 22:40:00 UTC
[jira] [Created] (RATIS-110) Add a static valueOf method to
ClientId and RaftGroupId
Tsz Wo Nicholas Sze created RATIS-110:
-----------------------------------------
Summary: Add a static valueOf method to ClientId and RaftGroupId
Key: RATIS-110
URL: https://issues.apache.org/jira/browse/RATIS-110
Project: Ratis
Issue Type: Improvement
Reporter: Tsz Wo Nicholas Sze
Assignee: Tsz Wo Nicholas Sze
Priority: Minor
Currently, we directly use a constructor to create ClientId / RaftGroupId. It is better to use valueOf instead of a constructor since the return value can possibly be cached in the future.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)