cleanup
This commit is contained in:
@@ -108,22 +108,6 @@ public class LongToDateBucket {
|
||||
return result;
|
||||
}
|
||||
|
||||
// public String toDateIndexPrefix(final long epochMilli) {
|
||||
//
|
||||
// final Entry<Long, DatePrefixAndRange> value = datePrefixCache.floorEntry(epochMilli);
|
||||
//
|
||||
// String result;
|
||||
// if (value == null || !value.getValue().contains(epochMilli)) {
|
||||
// final DatePrefixAndRange newValue = toDatePrefixAndRange(epochMilli);
|
||||
// datePrefixCache.put(newValue.getMinEpochMilli(), newValue);
|
||||
// result = newValue.getDatePrefix();
|
||||
// } else {
|
||||
// result = value.getValue().getDatePrefix();
|
||||
// }
|
||||
//
|
||||
// return result;
|
||||
// }
|
||||
|
||||
/**
|
||||
* only for tests, use toPartitionIds(final DateTimeRange dateRange,final
|
||||
* Collection<? extends PartitionId> availablePartitionIds) instead
|
||||
|
||||
Reference in New Issue
Block a user