amogh-jahagirdar commented on code in PR #9134: URL: https://github.com/apache/iceberg/pull/9134#discussion_r1402854044
########## api/src/main/java/org/apache/iceberg/ManageSnapshots.java: ########## @@ -163,26 +163,26 @@ default ManageSnapshots createBranch(String name) { ManageSnapshots replaceBranch(String name, long snapshotId); /** - * Replaces the branch with the given name to point to the source snapshot. The source branch will - * remain unchanged, the target branch will retain its retention properties. + * Replaces the source branch with the given name to point to the target snapshot. The target + * branch will remain unchanged, the source branch will retain its retention properties. * - * @param name Branch to replace - * @param source Source reference for the target to be replaced with + * @param source Branch to replace + * @param target Target reference for the target to be replaced with Review Comment: I've updated to `from` and `to`. I think that still captures the difference (and the nice thing is it's more succinct and fall in line with some other code we have). Those prepositions still sounds a bit odd in my head (in my head replace should be combined with something like "with" but that would then not sound right with fast forward). combined with `replace` but I think that's minor. From and to still capture what each thing really is, and the desired end state. -- 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: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org