Details
-
Sub-task
-
Status: Resolved
-
Minor
-
Resolution: Implemented
-
None
Description
Replace single-use Random objects by RandomUtils or similar.
Example:
- int index = new Random().nextInt(dnInfos.size()); + int index = RandomUtils.nextInt(0, dnInfos.size());
See attached file for list of items to fix.
Attachments
Attachments
Issue Links
- split to
-
HDDS-10173 Random object created and used only once in TestBlockOutputStreamCorrectness
- Resolved
- links to