You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by te...@apache.org on 2022/07/29 01:20:39 UTC

[pulsar] branch master updated: Fix RetentionPolicies comment typo (#16823)

This is an automated email from the ASF dual-hosted git repository.

technoboy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new f27d8253b17 Fix RetentionPolicies comment typo (#16823)
f27d8253b17 is described below

commit f27d8253b17d4859a29921378faf819dbbe5ea5d
Author: Xiaoyu Hou <An...@gmail.com>
AuthorDate: Fri Jul 29 09:20:31 2022 +0800

    Fix RetentionPolicies comment typo (#16823)
---
 .../java/org/apache/pulsar/common/policies/data/RetentionPolicies.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pulsar-client-admin-api/src/main/java/org/apache/pulsar/common/policies/data/RetentionPolicies.java b/pulsar-client-admin-api/src/main/java/org/apache/pulsar/common/policies/data/RetentionPolicies.java
index 4049708e16a..2010ce0bf1e 100644
--- a/pulsar-client-admin-api/src/main/java/org/apache/pulsar/common/policies/data/RetentionPolicies.java
+++ b/pulsar-client-admin-api/src/main/java/org/apache/pulsar/common/policies/data/RetentionPolicies.java
@@ -22,7 +22,7 @@ package org.apache.pulsar.common.policies.data;
  * Definition of the retention policy.
  *
  * <p>When you set a retention policy you must set **both** a *size limit* and a *time limit*.
- * In the case where you don't want to limit by either time or set, the value must be set to `-1`.
+ * In the case where you don't want to limit by either time or size, the value must be set to `-1`.
  * Retention policy will be effectively disabled and it won't prevent the deletion of acknowledged
  * messages when either size or time limit is set to `0`.
  * Infinite retention can be achieved by setting both time and size limits to `-1`.