[
https://issues.apache.org/jira/browse/HDFS-16585?focusedWorklogId=772969&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-772969
]
ASF GitHub Bot logged work on HDFS-16585:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 20/May/22 18:35
Start Date: 20/May/22 18:35
Worklog Time Spent: 10m
Work Description: ashutoshcipher opened a new pull request, #4337:
URL: https://github.com/apache/hadoop/pull/4337
### Description of PR
Add @VisibleForTesting in Dispatcher.java
* JIRA: HDFS-16585
- [x] Does the title or this PR starts with the corresponding JIRA issue id
(e.g. 'HADOOP-17799. Your PR title ...')?
Issue Time Tracking
-------------------
Worklog Id: (was: 772969)
Remaining Estimate: 0h
Time Spent: 10m
> 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
> 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: [email protected]
For additional commands, e-mail: [email protected]