HBASE-8055 Null check missing in StoreFile.Reader.getMaxTimestamp()

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1455403 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
larsh 2013-03-12 03:54:29 +00:00
parent cff351319f
commit 7dbb307f2a
1 changed files with 1 additions and 1 deletions

View File

@ -1570,7 +1570,7 @@ public class StoreFile {
}
public long getMaxTimestamp() {
return timeRangeTracker.maximumTimestamp;
return timeRangeTracker == null ? Long.MAX_VALUE : timeRangeTracker.maximumTimestamp;
}
}