{"action":"created","comment":{"url":"https://api.github.com/repos/xapian/xapian/pulls/comments/59114416","id":59114416,"diff_hunk":"@@ -121,8 +121,20 @@ public static void main(String[] args) throws Exception {\n \t\tSystem.exit(1);\n \t    }\n \t    Enquire enq = new Enquire(db);\n-\t    enq.setQuery(new Query(Query.OP_OR, \"there\", \"is\"));\n+\t    enq.setQuery(new Query(\"dog\"));\n \t    MSet mset = enq.getMSet(0, 10);\n+\t    // MSet size is 0\n+\t    if (mset.size() == 0) {\n+\t    for (MSetIterator.MatchDescriptor descriptor : mset) {\n+\t    System.err.println(\"Empty iterator entered invalid section (from MSet java iterator)\");","path":"xapian-bindings/java/SmokeTest.java","position":10,"original_position":10,"commit_id":"023dde12a5ddcfea778a584bf24b9d207c4807d4","original_commit_id":"023dde12a5ddcfea778a584bf24b9d207c4807d4","user":{"login":"mkash32","id":11131759,"avatar_url":"https://avatars.githubusercontent.com/u/11131759?v=3","gravatar_id":"","url":"https://api.github.com/users/mkash32","html_url":"https://github.com/mkash32","followers_url":"https://api.github.com/users/mkash32/followers","following_url":"https://api.github.com/users/mkash32/following{/other_user}","gists_url":"https://api.github.com/users/mkash32/gists{/gist_id}","starred_url":"https://api.github.com/users/mkash32/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkash32/subscriptions","organizations_url":"https://api.github.com/users/mkash32/orgs","repos_url":"https://api.github.com/users/mkash32/repos","events_url":"https://api.github.com/users/mkash32/events{/privacy}","received_events_url":"https://api.github.com/users/mkash32/received_events","type":"User","site_admin":false},"body":"I kept tabs at those lines as you have mentioned but when I run `git diff origin/master | ./xapian-maintainer-tools/xapian-check-patch`, I kept getting the message \"added/changed line has space before tab\" so I just removed those tabs. \r\nThe rest of the file also has indentation mistakes within if blocks, I wonder why those aren't showing up.\r\n","created_at":"2016-04-09T12:15:15Z","updated_at":"2016-04-09T12:15:15Z","html_url":"https://github.com/xapian/xapian/pull/87#discussion_r59114416","pull_request_url":"https://api.github.com/repos/xapian/xapian/pulls/87","_links":{"self":{"href":"https://api.github.com/repos/xapian/xapian/pulls/comments/59114416"},"html":{"href":"https://github.com/xapian/xapian/pull/87#discussion_r59114416"},"pull_request":{"href":"https://api.github.com/repos/xapian/xapian/pulls/87"}}},"pull_request":{"url":"https://api.github.com/repos/xapian/xapian/pulls/87","id":65042477,"html_url":"https://github.com/xapian/xapian/pull/87","diff_url":"https://github.com/xapian/xapian/pull/87.diff","patch_url":"https://github.com/xapian/xapian/pull/87.patch","issue_url":"https://api.github.com/repos/xapian/xapian/issues/87","number":87,"state":"open","locked":false,"title":"Java Iterator implementation: MSetIterator","user":{"login":"mkash32","id":11131759,"avatar_url":"https://avatars.githubusercontent.com/u/11131759?v=3","gravatar_id":"","url":"https://api.github.com/users/mkash32","html_url":"https://github.com/mkash32","followers_url":"https://api.github.com/users/mkash32/followers","following_url":"https://api.github.com/users/mkash32/following{/other_user}","gists_url":"https://api.github.com/users/mkash32/gists{/gist_id}","starred_url":"https://api.github.com/users/mkash32/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkash32/subscriptions","organizations_url":"https://api.github.com/users/mkash32/orgs","repos_url":"https://api.github.com/users/mkash32/repos","events_url":"https://api.github.com/users/mkash32/events{/privacy}","received_events_url":"https://api.github.com/users/mkash32/received_events","type":"User","site_admin":false},"body":"Created a class MatchDescriptor as an inner class of MSetIterator. MSetIterator now implements the Iterable<MatchDescriptor> interface and implements the method iterator() to enable the use of MSetIterator in a foreach loop.","created_at":"2016-04-02T16:29:03Z","updated_at":"2016-04-09T12:15:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"621259b24040bb985cff9b5af6cc4f212c4118d4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/xapian/xapian/pulls/87/commits","review_comments_url":"https://api.github.com/repos/xapian/xapian/pulls/87/comments","review_comment_url":"https://api.github.com/repos/xapian/xapian/pulls/comments{/number}","comments_url":"https://api.github.com/repos/xapian/xapian/issues/87/comments","statuses_url":"https://api.github.com/repos/xapian/xapian/statuses/023dde12a5ddcfea778a584bf24b9d207c4807d4","head":{"label":"mkash32:iterator","ref":"iterator","sha":"023dde12a5ddcfea778a584bf24b9d207c4807d4","user":{"login":"mkash32","id":11131759,"avatar_url":"https://avatars.githubusercontent.com/u/11131759?v=3","gravatar_id":"","url":"https://api.github.com/users/mkash32","html_url":"https://github.com/mkash32","followers_url":"https://api.github.com/users/mkash32/followers","following_url":"https://api.github.com/users/mkash32/following{/other_user}","gists_url":"https://api.github.com/users/mkash32/gists{/gist_id}","starred_url":"https://api.github.com/users/mkash32/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkash32/subscriptions","organizations_url":"https://api.github.com/users/mkash32/orgs","repos_url":"https://api.github.com/users/mkash32/repos","events_url":"https://api.github.com/users/mkash32/events{/privacy}","received_events_url":"https://api.github.com/users/mkash32/received_events","type":"User","site_admin":false},"repo":{"id":55288994,"name":"xapian","full_name":"mkash32/xapian","owner":{"login":"mkash32","id":11131759,"avatar_url":"https://avatars.githubusercontent.com/u/11131759?v=3","gravatar_id":"","url":"https://api.github.com/users/mkash32","html_url":"https://github.com/mkash32","followers_url":"https://api.github.com/users/mkash32/followers","following_url":"https://api.github.com/users/mkash32/following{/other_user}","gists_url":"https://api.github.com/users/mkash32/gists{/gist_id}","starred_url":"https://api.github.com/users/mkash32/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkash32/subscriptions","organizations_url":"https://api.github.com/users/mkash32/orgs","repos_url":"https://api.github.com/users/mkash32/repos","events_url":"https://api.github.com/users/mkash32/events{/privacy}","received_events_url":"https://api.github.com/users/mkash32/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mkash32/xapian","description":"Mirror of the Xapian repository.  You're welcome to open pull requests on github (they'll just get merged indirectly).","fork":true,"url":"https://api.github.com/repos/mkash32/xapian","forks_url":"https://api.github.com/repos/mkash32/xapian/forks","keys_url":"https://api.github.com/repos/mkash32/xapian/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mkash32/xapian/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mkash32/xapian/teams","hooks_url":"https://api.github.com/repos/mkash32/xapian/hooks","issue_events_url":"https://api.github.com/repos/mkash32/xapian/issues/events{/number}","events_url":"https://api.github.com/repos/mkash32/xapian/events","assignees_url":"https://api.github.com/repos/mkash32/xapian/assignees{/user}","branches_url":"https://api.github.com/repos/mkash32/xapian/branches{/branch}","tags_url":"https://api.github.com/repos/mkash32/xapian/tags","blobs_url":"https://api.github.com/repos/mkash32/xapian/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mkash32/xapian/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mkash32/xapian/git/refs{/sha}","trees_url":"https://api.github.com/repos/mkash32/xapian/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mkash32/xapian/statuses/{sha}","languages_url":"https://api.github.com/repos/mkash32/xapian/languages","stargazers_url":"https://api.github.com/repos/mkash32/xapian/stargazers","contributors_url":"https://api.github.com/repos/mkash32/xapian/contributors","subscribers_url":"https://api.github.com/repos/mkash32/xapian/subscribers","subscription_url":"https://api.github.com/repos/mkash32/xapian/subscription","commits_url":"https://api.github.com/repos/mkash32/xapian/commits{/sha}","git_commits_url":"https://api.github.com/repos/mkash32/xapian/git/commits{/sha}","comments_url":"https://api.github.com/repos/mkash32/xapian/comments{/number}","issue_comment_url":"https://api.github.com/repos/mkash32/xapian/issues/comments{/number}","contents_url":"https://api.github.com/repos/mkash32/xapian/contents/{+path}","compare_url":"https://api.github.com/repos/mkash32/xapian/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mkash32/xapian/merges","archive_url":"https://api.github.com/repos/mkash32/xapian/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mkash32/xapian/downloads","issues_url":"https://api.github.com/repos/mkash32/xapian/issues{/number}","pulls_url":"https://api.github.com/repos/mkash32/xapian/pulls{/number}","milestones_url":"https://api.github.com/repos/mkash32/xapian/milestones{/number}","notifications_url":"https://api.github.com/repos/mkash32/xapian/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mkash32/xapian/labels{/name}","releases_url":"https://api.github.com/repos/mkash32/xapian/releases{/id}","deployments_url":"https://api.github.com/repos/mkash32/xapian/deployments","created_at":"2016-04-02T10:21:07Z","updated_at":"2016-04-02T10:21:12Z","pushed_at":"2016-04-08T20:11:57Z","git_url":"git://github.com/mkash32/xapian.git","ssh_url":"git@github.com:mkash32/xapian.git","clone_url":"https://github.com/mkash32/xapian.git","svn_url":"https://github.com/mkash32/xapian","homepage":"https://xapian.org/","size":76575,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"xapian:master","ref":"master","sha":"28ecf230083841cafbdfa9a9bb6b0a911e85c07d","user":{"login":"xapian","id":312861,"avatar_url":"https://avatars.githubusercontent.com/u/312861?v=3","gravatar_id":"","url":"https://api.github.com/users/xapian","html_url":"https://github.com/xapian","followers_url":"https://api.github.com/users/xapian/followers","following_url":"https://api.github.com/users/xapian/following{/other_user}","gists_url":"https://api.github.com/users/xapian/gists{/gist_id}","starred_url":"https://api.github.com/users/xapian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xapian/subscriptions","organizations_url":"https://api.github.com/users/xapian/orgs","repos_url":"https://api.github.com/users/xapian/repos","events_url":"https://api.github.com/users/xapian/events{/privacy}","received_events_url":"https://api.github.com/users/xapian/received_events","type":"Organization","site_admin":false},"repo":{"id":735981,"name":"xapian","full_name":"xapian/xapian","owner":{"login":"xapian","id":312861,"avatar_url":"https://avatars.githubusercontent.com/u/312861?v=3","gravatar_id":"","url":"https://api.github.com/users/xapian","html_url":"https://github.com/xapian","followers_url":"https://api.github.com/users/xapian/followers","following_url":"https://api.github.com/users/xapian/following{/other_user}","gists_url":"https://api.github.com/users/xapian/gists{/gist_id}","starred_url":"https://api.github.com/users/xapian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xapian/subscriptions","organizations_url":"https://api.github.com/users/xapian/orgs","repos_url":"https://api.github.com/users/xapian/repos","events_url":"https://api.github.com/users/xapian/events{/privacy}","received_events_url":"https://api.github.com/users/xapian/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/xapian/xapian","description":"Mirror of the Xapian repository.  You're welcome to open pull requests on github (they'll just get merged indirectly).","fork":false,"url":"https://api.github.com/repos/xapian/xapian","forks_url":"https://api.github.com/repos/xapian/xapian/forks","keys_url":"https://api.github.com/repos/xapian/xapian/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xapian/xapian/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xapian/xapian/teams","hooks_url":"https://api.github.com/repos/xapian/xapian/hooks","issue_events_url":"https://api.github.com/repos/xapian/xapian/issues/events{/number}","events_url":"https://api.github.com/repos/xapian/xapian/events","assignees_url":"https://api.github.com/repos/xapian/xapian/assignees{/user}","branches_url":"https://api.github.com/repos/xapian/xapian/branches{/branch}","tags_url":"https://api.github.com/repos/xapian/xapian/tags","blobs_url":"https://api.github.com/repos/xapian/xapian/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xapian/xapian/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xapian/xapian/git/refs{/sha}","trees_url":"https://api.github.com/repos/xapian/xapian/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xapian/xapian/statuses/{sha}","languages_url":"https://api.github.com/repos/xapian/xapian/languages","stargazers_url":"https://api.github.com/repos/xapian/xapian/stargazers","contributors_url":"https://api.github.com/repos/xapian/xapian/contributors","subscribers_url":"https://api.github.com/repos/xapian/xapian/subscribers","subscription_url":"https://api.github.com/repos/xapian/xapian/subscription","commits_url":"https://api.github.com/repos/xapian/xapian/commits{/sha}","git_commits_url":"https://api.github.com/repos/xapian/xapian/git/commits{/sha}","comments_url":"https://api.github.com/repos/xapian/xapian/comments{/number}","issue_comment_url":"https://api.github.com/repos/xapian/xapian/issues/comments{/number}","contents_url":"https://api.github.com/repos/xapian/xapian/contents/{+path}","compare_url":"https://api.github.com/repos/xapian/xapian/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xapian/xapian/merges","archive_url":"https://api.github.com/repos/xapian/xapian/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xapian/xapian/downloads","issues_url":"https://api.github.com/repos/xapian/xapian/issues{/number}","pulls_url":"https://api.github.com/repos/xapian/xapian/pulls{/number}","milestones_url":"https://api.github.com/repos/xapian/xapian/milestones{/number}","notifications_url":"https://api.github.com/repos/xapian/xapian/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xapian/xapian/labels{/name}","releases_url":"https://api.github.com/repos/xapian/xapian/releases{/id}","deployments_url":"https://api.github.com/repos/xapian/xapian/deployments","created_at":"2010-06-23T15:51:03Z","updated_at":"2016-04-08T18:36:41Z","pushed_at":"2016-04-09T12:12:38Z","git_url":"git://github.com/xapian/xapian.git","ssh_url":"git@github.com:xapian/xapian.git","clone_url":"https://github.com/xapian/xapian.git","svn_url":"https://github.com/xapian/xapian","homepage":"https://xapian.org/","size":88093,"stargazers_count":243,"watchers_count":243,"language":"C++","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":131,"mirror_url":null,"open_issues_count":18,"forks":131,"open_issues":18,"watchers":243,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/xapian/xapian/pulls/87"},"html":{"href":"https://github.com/xapian/xapian/pull/87"},"issue":{"href":"https://api.github.com/repos/xapian/xapian/issues/87"},"comments":{"href":"https://api.github.com/repos/xapian/xapian/issues/87/comments"},"review_comments":{"href":"https://api.github.com/repos/xapian/xapian/pulls/87/comments"},"review_comment":{"href":"https://api.github.com/repos/xapian/xapian/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/xapian/xapian/pulls/87/commits"},"statuses":{"href":"https://api.github.com/repos/xapian/xapian/statuses/023dde12a5ddcfea778a584bf24b9d207c4807d4"}}}}