HBASE-13447 Bypass logic in TimeRange.compare.

This commit is contained in:
anoopsjohn 2015-04-14 11:37:48 +05:30
parent e9da064ccd
commit 71536bdcc7
1 changed files with 1 additions and 0 deletions

View File

@ -166,6 +166,7 @@ public class TimeRange {
* 1 if timestamp is greater than timerange
*/
public int compare(long timestamp) {
if (allTime) return 0;
if (timestamp < minStamp) {
return -1;
} else if (timestamp >= maxStamp) {