This is an automated email from the ASF dual-hosted git repository.
pvary pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iceberg.git
The following commit(s) were added to refs/heads/main by this push:
new bb8b7434b4 API: Fix javadoc of ManageSnapshots.setMaxRefAgeMs (#15642)
bb8b7434b4 is described below
commit bb8b7434b4e21f360296d62e46599f2f8b256d42
Author: Yuya Ebihara <[email protected]>
AuthorDate: Mon Mar 16 21:13:25 2026 +0900
API: Fix javadoc of ManageSnapshots.setMaxRefAgeMs (#15642)
---
api/src/main/java/org/apache/iceberg/ManageSnapshots.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/api/src/main/java/org/apache/iceberg/ManageSnapshots.java
b/api/src/main/java/org/apache/iceberg/ManageSnapshots.java
index 12cd5021fa..36e9807565 100644
--- a/api/src/main/java/org/apache/iceberg/ManageSnapshots.java
+++ b/api/src/main/java/org/apache/iceberg/ManageSnapshots.java
@@ -207,10 +207,10 @@ public interface ManageSnapshots extends
PendingUpdate<Snapshot> {
ManageSnapshots setMaxSnapshotAgeMs(String branchName, long
maxSnapshotAgeMs);
/**
- * Updates the retention policy for a reference.
+ * Updates the retention policy for a reference. The reference can be a
branch or a tag.
*
- * @param name branch name
- * @param maxRefAgeMs retention age in milliseconds of the tag reference
itself
+ * @param name branch or tag name
+ * @param maxRefAgeMs retention age in milliseconds of the reference itself
* @return this for method chaining
* @throws IllegalArgumentException if the reference does not exist
*/