This is an automated email from the ASF dual-hosted git repository.
houxiaoyu 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 2891d5c58af [fix][managed-ledger]fix typo error in
ManagedCursorContainer #17509
2891d5c58af is described below
commit 2891d5c58afaef31714f6266f560e8f1d23da06f
Author: Qiang Huang <[email protected]>
AuthorDate: Sat Oct 1 00:37:58 2022 +0800
[fix][managed-ledger]fix typo error in ManagedCursorContainer #17509
---
.../org/apache/bookkeeper/mledger/impl/ManagedCursorContainer.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/managed-ledger/src/main/java/org/apache/bookkeeper/mledger/impl/ManagedCursorContainer.java
b/managed-ledger/src/main/java/org/apache/bookkeeper/mledger/impl/ManagedCursorContainer.java
index b5a5be733a1..293ce8d2fcb 100644
---
a/managed-ledger/src/main/java/org/apache/bookkeeper/mledger/impl/ManagedCursorContainer.java
+++
b/managed-ledger/src/main/java/org/apache/bookkeeper/mledger/impl/ManagedCursorContainer.java
@@ -286,7 +286,7 @@ public class ManagedCursorContainer implements
Iterable<ManagedCursor> {
// //////////////////////
/**
- * Push the item up towards the the root of the tree (lowest reading
position).
+ * Push the item up towards the root of the tree (the lowest reading
position).
*/
private void siftUp(Item item) {
Item parent = getParent(item);
@@ -297,7 +297,7 @@ public class ManagedCursorContainer implements
Iterable<ManagedCursor> {
}
/**
- * Push the item down towards the bottom of the tree (highest reading
position).
+ * Push the item down towards the bottom of the tree (the highest reading
position).
*/
private void siftDown(final Item item) {
while (true) {