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

yongzao pushed a commit to branch debug_partition_table_cleaner
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/debug_partition_table_cleaner 
by this push:
     new 0e710e16a46 fix comparator (#15157)
0e710e16a46 is described below

commit 0e710e16a46ed3f77a711513c1d49e329912bd71
Author: Li Yu Heng <[email protected]>
AuthorDate: Fri Mar 21 15:50:40 2025 +0800

    fix comparator (#15157)
    
    LGTM!!!
---
 .../org/apache/iotdb/confignode/procedure/TimeoutExecutorThread.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/procedure/TimeoutExecutorThread.java
 
b/iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/procedure/TimeoutExecutorThread.java
index d4f919c01be..5aaf9a623f5 100644
--- 
a/iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/procedure/TimeoutExecutorThread.java
+++ 
b/iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/procedure/TimeoutExecutorThread.java
@@ -100,7 +100,7 @@ public class TimeoutExecutorThread<Env> extends 
StoppableThread {
 
     @Override
     public int compareTo(Delayed other) {
-      return Long.compareUnsigned(
+      return Long.compare(
           this.getDelay(TimeUnit.MILLISECONDS), 
other.getDelay(TimeUnit.MILLISECONDS));
     }
   }

Reply via email to