You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/05/20 18:36:00 UTC

[jira] [Updated] (HDFS-16585) Add @VisibleForTesting in Dispatcher.java after HDFS-16268

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

ASF GitHub Bot updated HDFS-16585:
----------------------------------
    Labels: pull-request-available  (was: )

> Add @VisibleForTesting in Dispatcher.java after HDFS-16268
> ----------------------------------------------------------
>
>                 Key: HDFS-16585
>                 URL: https://issues.apache.org/jira/browse/HDFS-16585
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Wei-Chiu Chuang
>            Assignee: Ashutosh Gupta
>            Priority: Trivial
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The scope of a few methods were opened up by HDFS-16268 to facilitate unit testing. We should annotate them with {{@VisibleForTesting}} so that they don't get used by production code.
> The affected methods include:
> PendingMove
> markMovedIfGoodBlock
> isGoodBlockCandidate



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org