HBASE-15358 canEnforceTimeLimitFromScope should use timeScope instead of sizeScope

Signed-off-by: zhangduo <zhangduo@apache.org>
This commit is contained in:
Phil Yang 2016-02-29 16:26:51 +08:00 committed by zhangduo
parent 998e339d6e
commit 03a02969c4
1 changed files with 1 additions and 1 deletions

View File

@ -626,7 +626,7 @@ public class ScannerContext {
* @return true when the limit can be enforced from the scope of the checker * @return true when the limit can be enforced from the scope of the checker
*/ */
boolean canEnforceTimeLimitFromScope(LimitScope checkerScope) { boolean canEnforceTimeLimitFromScope(LimitScope checkerScope) {
return this.sizeScope.canEnforceLimitFromScope(checkerScope); return this.timeScope.canEnforceLimitFromScope(checkerScope);
} }
@Override @Override