Currently the class SkipOperation takes an long as only parameter, the static factory method Aggregation.skip(…) takes an int. As the skip-operation seems to support long, should the static factory-method also use long?
publicstaticSkipOperationskip(intelementsToSkip) {
returnnewSkipOperation(elementsToSkip);
}
publicSkipOperation(longskipCount) {
Assert.isTrue(skipCount >= 0, "Skip count must not be negative!");
this.skipCount = skipCount;
}
Andre Schemschat opened DATAMONGO-1521 and commented
Currently the class
SkipOperation
takes an long as only parameter, the static factory methodAggregation.skip(…)
takes an int. As the skip-operation seems to support long, should the static factory-method also use long?Affects: 1.9.4 (Hopper SR4)
Referenced from: commits 6a9823f, f011a9a, 4875f07
Backported to: 1.9.5 (Hopper SR5), 1.8.7 (Gosling SR7)
The text was updated successfully, but these errors were encountered: