This is an automated email from the ASF dual-hosted git repository.
gian pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/druid.git
The following commit(s) were added to refs/heads/master by this push:
new 96b4abc8e9f Add @VisibleForTesting annotation for the backingArray()
method (#15690)
96b4abc8e9f is described below
commit 96b4abc8e9fc582fb496309b852076b34b9bdc8f
Author: Benedict Jin <[email protected]>
AuthorDate: Fri Jan 19 11:30:10 2024 +0800
Add @VisibleForTesting annotation for the backingArray() method (#15690)
---
.../src/main/java/org/apache/druid/frame/processor/TournamentTree.java | 2 ++
1 file changed, 2 insertions(+)
diff --git
a/processing/src/main/java/org/apache/druid/frame/processor/TournamentTree.java
b/processing/src/main/java/org/apache/druid/frame/processor/TournamentTree.java
index 83c8e710bc1..8e842619987 100644
---
a/processing/src/main/java/org/apache/druid/frame/processor/TournamentTree.java
+++
b/processing/src/main/java/org/apache/druid/frame/processor/TournamentTree.java
@@ -19,6 +19,7 @@
package org.apache.druid.frame.processor;
+import com.google.common.annotations.VisibleForTesting;
import it.unimi.dsi.fastutil.HashCommon;
import it.unimi.dsi.fastutil.ints.IntComparator;
import org.apache.druid.java.util.common.IAE;
@@ -115,6 +116,7 @@ public class TournamentTree
/**
* Returns the backing array of the tree. Used in tests.
*/
+ @VisibleForTesting
int[] backingArray()
{
return tree;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]