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/09 00:53:38 UTC

[jira] [Updated] (RATIS-35) Add SafeVarargs annotation for ConfUtils methods

     [ https://issues.apache.org/jira/browse/RATIS-35?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo Nicholas Sze updated RATIS-35:
-------------------------------------
    Attachment: r35_20170308.patch

r35_20170308.patch:
- adds \@SafeVarargs
- fixes an error message in TestTraditionalBinaryPrefix.

> Add SafeVarargs annotation for ConfUtils methods
> ------------------------------------------------
>
>                 Key: RATIS-35
>                 URL: https://issues.apache.org/jira/browse/RATIS-35
>             Project: Ratis
>          Issue Type: Improvement
>            Reporter: Jing Zhao
>            Assignee: Tsz Wo Nicholas Sze
>            Priority: Minor
>         Attachments: r35_20170308.patch
>
>
> After RATIS-34, there are a couple of methods in ConfUtils with "Possible heap pollution from parameterized vararg type" warning. We can add SafeVarargs annotations to suppress the warning.



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