Skip to content

Commit bb8b743

Browse files
authored
API: Fix javadoc of ManageSnapshots.setMaxRefAgeMs (apache#15642)
1 parent 063c463 commit bb8b743

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

api/src/main/java/org/apache/iceberg/ManageSnapshots.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -207,10 +207,10 @@ default ManageSnapshots createBranch(String name) {
207207
ManageSnapshots setMaxSnapshotAgeMs(String branchName, long maxSnapshotAgeMs);
208208

209209
/**
210-
* Updates the retention policy for a reference.
210+
* Updates the retention policy for a reference. The reference can be a branch or a tag.
211211
*
212-
* @param name branch name
213-
* @param maxRefAgeMs retention age in milliseconds of the tag reference itself
212+
* @param name branch or tag name
213+
* @param maxRefAgeMs retention age in milliseconds of the reference itself
214214
* @return this for method chaining
215215
* @throws IllegalArgumentException if the reference does not exist
216216
*/

0 commit comments

Comments
 (0)