You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Wei-Chiu Chuang (Jira)" <ji...@apache.org> on 2022/05/20 17:31:00 UTC
[jira] [Created] (HDFS-16585) Add @VisibleForTesting in Dispatcher.java after HDFS-16268
Wei-Chiu Chuang created HDFS-16585:
--------------------------------------
Summary: 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
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-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org