Add @VisibleForTesting annotation for the backingArray() method (#15690)

This commit is contained in:
Benedict Jin 2024-01-19 11:30:10 +08:00 committed by GitHub
parent f51f0e07e2
commit 96b4abc8e9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;