From 45f9e36a88a4abff72784e0e1fce0124aea26a2f Mon Sep 17 00:00:00 2001 From: Andreas Huber Date: Sun, 5 Apr 2020 09:50:26 +0200 Subject: [PATCH] cleanup --- .../java/org/lucares/utils/LongToDateBucket.java | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/pdb-utils/src/main/java/org/lucares/utils/LongToDateBucket.java b/pdb-utils/src/main/java/org/lucares/utils/LongToDateBucket.java index 744e7c1..f350ea1 100644 --- a/pdb-utils/src/main/java/org/lucares/utils/LongToDateBucket.java +++ b/pdb-utils/src/main/java/org/lucares/utils/LongToDateBucket.java @@ -108,22 +108,6 @@ public class LongToDateBucket { return result; } -// public String toDateIndexPrefix(final long epochMilli) { -// -// final Entry 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 availablePartitionIds) instead