Skip to content

Commit

Permalink
Remove unused fields. (#17579)
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptoe authored Dec 17, 2024
1 parent bb4416a commit 8b81c91
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,11 @@ public static CursorGranularizer create(
timeSelector = cursor.getColumnSelectorFactory().makeColumnValueSelector(ColumnHolder.TIME_COLUMN_NAME);
}

return new CursorGranularizer(cursor, granularity, bucketIterable, timeSelector, timeOrder == Order.DESCENDING);
return new CursorGranularizer(cursor, bucketIterable, timeSelector, timeOrder == Order.DESCENDING);
}

private final Cursor cursor;

private final Granularity granularity;

// Iterable that iterates over time buckets.
private final Iterable<Interval> bucketIterable;
Expand All @@ -115,14 +114,12 @@ public static CursorGranularizer create(

private CursorGranularizer(
Cursor cursor,
Granularity granularity,
Iterable<Interval> bucketIterable,
@Nullable ColumnValueSelector timeSelector,
boolean descending
)
{
this.cursor = cursor;
this.granularity = granularity;
this.bucketIterable = bucketIterable;
this.timeSelector = timeSelector;
this.descending = descending;
Expand Down

0 comments on commit 8b81c91

Please sign in to comment.