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/03/10 02:41:37 UTC

[jira] [Created] (RATIS-39) Avoid using google guava so that it is easier to shade

Tsz Wo Nicholas Sze created RATIS-39:
----------------------------------------

             Summary: Avoid using google guava so that it is easier to shade
                 Key: RATIS-39
                 URL: https://issues.apache.org/jira/browse/RATIS-39
             Project: Ratis
          Issue Type: Improvement
            Reporter: Tsz Wo Nicholas Sze
            Assignee: Tsz Wo Nicholas Sze


In order to allow user application using google guava, we should either not using it or shade it.

Except for ratis-common, we can replace google guava by:
- Preconditions: add similar methods in our util.  
- VisibleForTesting: remove it.
- ThreadFactoryBuilder: use Daemon::new
- Charsets: use StandardCharsets
- Lists, ImmutableList: use java collections
- Throwables; just throw IOException




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)