Skip to content

Commit 327d621

Browse files
committed
Fixed CodeQL issues
1 parent 7a727b4 commit 327d621

1 file changed

Lines changed: 0 additions & 14 deletions

File tree

src/test/java/org/apache/datasketches/partitions/ClassicPartitionsTest.java

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,11 @@
2222
import static org.apache.datasketches.partitions.BoundsRule.INCLUDE_BOTH;
2323
import static org.apache.datasketches.quantilescommon.QuantileSearchCriteria.INCLUSIVE;
2424

25-
import java.util.Comparator;
2625
import java.util.List;
2726

2827
import org.apache.datasketches.common.SketchesArgumentException;
2928
import org.apache.datasketches.partitions.Partitioner.PartitionBoundsRow;
3029
import org.apache.datasketches.quantiles.ItemsSketch;
31-
import org.apache.datasketches.quantilescommon.PartitioningFeature;
32-
import org.apache.datasketches.quantilescommon.QuantilesGenericAPI;
3330
import org.testng.annotations.Test;
3431

3532
/**
@@ -72,19 +69,8 @@ public void checkClassicPartitioner() {
7269
final long tgtPartitionSize = 3_000_000L;
7370
final int maxPartsPerSk = 100;
7471
classicPartitioner(k, totalN, tgtPartitionSize, maxPartsPerSk);
75-
final ItemsSketch<String> sk = ItemsSketch.getInstance(String.class, k, Comparator.naturalOrder());
76-
this.runPartitioner(k, totalN, tgtPartitionSize, maxPartsPerSk, sk);
7772
}
7873

79-
public <T, S extends QuantilesGenericAPI<T> & PartitioningFeature<T>>
80-
void runPartitioner(final int k, final long totalN, final long tgtPartitionSize, final int maxPartsPerSk,
81-
ItemsSketch<String> sketch) {
82-
final ItemsSketchFillRequestLongAsString fillReq = new ItemsSketchFillRequestLongAsString(k, totalN);
83-
final long startTime_mS = System.currentTimeMillis();
84-
}
85-
86-
//SketchFillRequest<String, ItemsSketch<String>>
87-
8874
/**
8975
* Programmatic call to classic Partitioner
9076
* @param k the size of the sketch.

0 commit comments

Comments
 (0)