Copilot commented on code in PR #7145:
URL: https://github.com/apache/hbase/pull/7145#discussion_r2208373987
##########
hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceShipper.java:
##########
@@ -150,13 +151,21 @@ protected void postFinish() {
}
/**
- * Do the shipping logic
+ * Do the shipping logic. Package-private for test visibility only. Do not
use outside tests.
*/
- private void shipEdits(WALEntryBatch entryBatch) {
+ void shipEdits(WALEntryBatch entryBatch) {
Review Comment:
[nitpick] Consider annotating this package-private method with
@VisibleForTesting (or a project-specific equivalent) to clearly signal its
test-only visibility.
--
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]