phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yuhao Bi <byh0...@gmail.com>
Subject Fwd: Infinite recursive loop in next(List<Cell> results) method of BaseRegionScanner
Date Sun, 31 May 2015 14:46:53 GMT
---------- Forwarded message ----------
From: Yuhao Bi <byh0831@gmail.com>
Date: 2015-05-30 16:20 GMT+08:00
Subject: Infinite recursive loop in next(List<Cell> results) method of
BaseRegionScanner
To: dev@phoenix.apache.org


Hi there,

I'm a little confused about the implement of the next(List<Cell> results)
method in BaseRegionScanner.
It seems to be a infinite recursive loop there.

    @Override
    public boolean next(List<Cell> results) throws IOException {
        return next(results);
    }

I noticed that, each place of using "return new BaseRegionScanner()..." has
overrided this method.

So, is it necessary to slightly modify the implement of this method?


Thanks,
Yuhao Bi

Mime
View raw message