This is an automated email from the ASF dual-hosted git repository. asdf2014 pushed a commit to branch visible in repository https://gitbox.apache.org/repos/asf/druid.git
commit 279a2baaab3b39583f1c74a0462c4fcd014f53e2 Author: asdf2014 <[email protected]> AuthorDate: Mon Jan 15 21:14:02 2024 +0800 Add @VisibleForTesting annotation for the backingArray() method --- .../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]
