mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
Revert "fix WeightedLongs function: member values not allocated"
This reverts commit e88cf252d9
.
This commit is contained in:
parent
e88cf252d9
commit
d703b75722
@ -39,7 +39,6 @@ public class WeightedLongs implements LongFunction<Long> {
|
|||||||
|
|
||||||
String[] fragments = new String[pairs.length];
|
String[] fragments = new String[pairs.length];
|
||||||
List<Double> parsedWeights = new ArrayList<>();
|
List<Double> parsedWeights = new ArrayList<>();
|
||||||
values = new long[pairs.length];
|
|
||||||
for (int i = 0; i < pairs.length; i++) {
|
for (int i = 0; i < pairs.length; i++) {
|
||||||
String[] pair = pairs[i].split(":", 2);
|
String[] pair = pairs[i].split(":", 2);
|
||||||
if (pair.length == 2) {
|
if (pair.length == 2) {
|
||||||
|
Loading…
Reference in New Issue
Block a user