Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HBaseGetResult.next() returns true even if there aren't any results #21

Closed
jnioche opened this issue May 25, 2010 · 1 comment
Closed

Comments

@jnioche
Copy link

jnioche commented May 25, 2010

Should the method be modified like this and check that the key is not null a second time?

public boolean next() throws IOException {
if(key == null) {
readNext(result);
// return true
return (key != null);
}

return false;

}

@enis
Copy link
Owner

enis commented May 27, 2010

Fixet at 264ba96

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants