@@ -99,7 +99,7 @@ public void generateReservoirLongsUnionExact() throws IOException {
9999 int maxK = 128 ;
100100 int [] nArr = {1 , 10 , 32 , 100 , 128 };
101101
102- for (final int n : nArr ) {
102+ for (int n : nArr ) {
103103 ReservoirLongsUnion union = ReservoirLongsUnion .newInstance (maxK );
104104 for (int i = 0 ; i < n ; i ++) {
105105 union .update (i );
@@ -290,7 +290,7 @@ public void generateReservoirItemsUnionLongExact() throws IOException {
290290 int maxK = 128 ;
291291 int [] nArr = {1 , 10 , 32 , 100 , 128 };
292292
293- for (final int n : nArr ) {
293+ for (int n : nArr ) {
294294 ReservoirItemsUnion <Long > union = ReservoirItemsUnion .newInstance (maxK );
295295 for (int i = 0 ; i < n ; i ++) {
296296 union .update ((long ) i );
@@ -306,7 +306,7 @@ public void generateReservoirItemsUnionLongSampling() throws IOException {
306306 long n = 1000 ;
307307
308308 for (final int maxK : maxKArr ) {
309- java . util . ArrayList <Long > predeterminedSamples = new java . util . ArrayList <>();
309+ ArrayList <Long > predeterminedSamples = new ArrayList <>();
310310 for (int i = 0 ; i < maxK ; i ++) {
311311 predeterminedSamples .add ((long ) (i * 2 ));
312312 }
@@ -340,7 +340,7 @@ public void generateReservoirItemsUnionDoubleExact() throws IOException {
340340 int maxK = 128 ;
341341 int [] nArr = {1 , 10 , 32 , 100 , 128 };
342342
343- for (final int n : nArr ) {
343+ for (int n : nArr ) {
344344 ReservoirItemsUnion <Double > union = ReservoirItemsUnion .newInstance (maxK );
345345 for (int i = 0 ; i < n ; i ++) {
346346 union .update ((double ) i );
@@ -356,7 +356,7 @@ public void generateReservoirItemsUnionDoubleSampling() throws IOException {
356356 long n = 1000 ;
357357
358358 for (final int maxK : maxKArr ) {
359- ArrayList <Double > predeterminedSamples = new java . util . ArrayList <>();
359+ ArrayList <Double > predeterminedSamples = new ArrayList <>();
360360 for (int i = 0 ; i < maxK ; i ++) {
361361 predeterminedSamples .add ((double ) (i * 2 ));
362362 }
@@ -390,7 +390,7 @@ public void generateReservoirItemsUnionStringExact() throws IOException {
390390 int maxK = 128 ;
391391 int [] nArr = {1 , 10 , 32 , 100 , 128 };
392392
393- for (final int n : nArr ) {
393+ for (int n : nArr ) {
394394 ReservoirItemsUnion <String > union = ReservoirItemsUnion .newInstance (maxK );
395395 for (int i = 0 ; i < n ; i ++) {
396396 union .update ("item" + i );
@@ -406,7 +406,7 @@ public void generateReservoirItemsUnionStringSampling() throws IOException {
406406 long n = 1000 ;
407407
408408 for (final int maxK : maxKArr ) {
409- ArrayList <String > predeterminedSamples = new java . util . ArrayList <>();
409+ ArrayList <String > predeterminedSamples = new ArrayList <>();
410410 for (int i = 0 ; i < maxK ; i ++) {
411411 predeterminedSamples .add ("item" + (i * 2 ));
412412 }
0 commit comments