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

gortiz pushed a commit to branch index-plugin-priority
in repository https://gitbox.apache.org/repos/asf/pinot.git

commit 163fdccc9f4bc807ba60610ec3ac84adcd2ef23c
Author: Gonzalo Ortiz <gor...@users.noreply.github.com>
AuthorDate: Mon May 12 12:30:51 2025 +0200

    fix checkstyle
---
 .../pinot/segment/spi/index/IndexServiceTest.java      | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git 
a/pinot-segment-spi/src/test/java/org/apache/pinot/segment/spi/index/IndexServiceTest.java
 
b/pinot-segment-spi/src/test/java/org/apache/pinot/segment/spi/index/IndexServiceTest.java
index f28e5c373d..94dfd3a910 100644
--- 
a/pinot-segment-spi/src/test/java/org/apache/pinot/segment/spi/index/IndexServiceTest.java
+++ 
b/pinot-segment-spi/src/test/java/org/apache/pinot/segment/spi/index/IndexServiceTest.java
@@ -63,17 +63,17 @@ public class IndexServiceTest {
       }
     };
 
-    TreeSet<IndexPlugin<?>> _ascendingSet = new 
TreeSet<>(Comparator.comparingInt(IndexPlugin::getPriority));
-    _ascendingSet.add(plugin1);
-    _ascendingSet.add(plugin2);
-    IndexService indexService1 = new IndexService(_ascendingSet);
+    TreeSet<IndexPlugin<?>> ascendingSet = new 
TreeSet<>(Comparator.comparingInt(IndexPlugin::getPriority));
+    ascendingSet.add(plugin1);
+    ascendingSet.add(plugin2);
+    IndexService indexService1 = new IndexService(ascendingSet);
     assertSame(indexService1.get("test"), indexType2);
 
     // Verifies that the order in the test doesn't actually matter
-    TreeSet<IndexPlugin<?>> _descendingSet = new TreeSet<>((p1, p2) -> 
p2.getPriority() - p1.getPriority());
-    _descendingSet.add(plugin1);
-    _descendingSet.add(plugin2);
-    IndexService indexService2 = new IndexService(_descendingSet);
+    TreeSet<IndexPlugin<?>> descendingSet = new TreeSet<>((p1, p2) -> 
p2.getPriority() - p1.getPriority());
+    descendingSet.add(plugin1);
+    descendingSet.add(plugin2);
+    IndexService indexService2 = new IndexService(descendingSet);
     assertSame(indexService2.get("test"), indexType2);
   }
 
@@ -130,4 +130,4 @@ public class IndexServiceTest {
     public void convertToNewFormat(TableConfig tableConfig, Schema schema) {
     }
   }
-}
\ No newline at end of file
+}


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to