dino2895 opened a new pull request, #11077:
URL: https://github.com/apache/ozone/pull/11077

   ## What changes were proposed in this pull request?
   
   Rename the zero-argument `OmKeyLocationInfoGroup#getLocationList()` method to
   `createLocationList()`.
   
   The method flattens `locationVersionMap` and creates a new list on every
   invocation. The new name makes the allocation behavior explicit and avoids
   giving callers the impression that it is a lightweight O(1) getter.
   
   All production and test call sites have been updated, including method
   references. The deprecated `getLocationList(Long)` overload remains 
unchanged.
   
   This is a naming-only change with no functional behavior changes.
   
   ## What is the link to the Apache Jira?
   
   https://issues.apache.org/jira/browse/HDDS-16201
   
   ## How was this patch tested?
   
   - `mvn -pl :ozone-common test -Dtest=TestOmKeyLocationInfoGroup -DskipShade 
-DskipRecon -DskipDocs`
   - Compiled the main and test sources of all affected modules.
   - `./hadoop-ozone/dev-support/checks/checkstyle.sh`
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to