{"action":"created","comment":{"url":"https://api.github.com/repos/realm/realm-java/pulls/comments/30104905","id":30104905,"diff_hunk":"@@ -1643,6 +1643,8 @@ public static synchronized void migrateRealmAtPath(String realmPath, byte[] key,\n      * @param context an Android {@link android.content.Context}.\n      * @return false if a file could not be deleted. The failing file will be logged.\n      * @see io.realm.Realm#clear(Class)\n+     *\n+     * @throws IllegalStateException if trying to delete a Realm that is already open.","path":"realm/src/main/java/io/realm/Realm.java","position":5,"original_position":5,"commit_id":"1edadc338ec86f24788cf77f4ea10cadd0cf4038","original_commit_id":"1edadc338ec86f24788cf77f4ea10cadd0cf4038","user":{"login":"cmelchior","id":406066,"avatar_url":"https://avatars.githubusercontent.com/u/406066?v=3","gravatar_id":"","url":"https://api.github.com/users/cmelchior","html_url":"https://github.com/cmelchior","followers_url":"https://api.github.com/users/cmelchior/followers","following_url":"https://api.github.com/users/cmelchior/following{/other_user}","gists_url":"https://api.github.com/users/cmelchior/gists{/gist_id}","starred_url":"https://api.github.com/users/cmelchior/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmelchior/subscriptions","organizations_url":"https://api.github.com/users/cmelchior/orgs","repos_url":"https://api.github.com/users/cmelchior/repos","events_url":"https://api.github.com/users/cmelchior/events{/privacy}","received_events_url":"https://api.github.com/users/cmelchior/received_events","type":"User","site_admin":false},"body":"Please prefix with java.lang to avoid ambiguity.","created_at":"2015-05-12T05:01:35Z","updated_at":"2015-05-12T05:01:35Z","html_url":"https://github.com/realm/realm-java/pull/1108#discussion_r30104905","pull_request_url":"https://api.github.com/repos/realm/realm-java/pulls/1108","_links":{"self":{"href":"https://api.github.com/repos/realm/realm-java/pulls/comments/30104905"},"html":{"href":"https://github.com/realm/realm-java/pull/1108#discussion_r30104905"},"pull_request":{"href":"https://api.github.com/repos/realm/realm-java/pulls/1108"}}},"pull_request":{"url":"https://api.github.com/repos/realm/realm-java/pulls/1108","id":35137588,"html_url":"https://github.com/realm/realm-java/pull/1108","diff_url":"https://github.com/realm/realm-java/pull/1108.diff","patch_url":"https://github.com/realm/realm-java/pull/1108.patch","issue_url":"https://api.github.com/repos/realm/realm-java/issues/1108","number":1108,"state":"open","locked":false,"title":"Add Javadoc comment which specifies that Realm.deleteRealmFile(...) throws IllegalStateException if target Reealm file is not closed.","user":{"login":"zaki50","id":406660,"avatar_url":"https://avatars.githubusercontent.com/u/406660?v=3","gravatar_id":"","url":"https://api.github.com/users/zaki50","html_url":"https://github.com/zaki50","followers_url":"https://api.github.com/users/zaki50/followers","following_url":"https://api.github.com/users/zaki50/following{/other_user}","gists_url":"https://api.github.com/users/zaki50/gists{/gist_id}","starred_url":"https://api.github.com/users/zaki50/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zaki50/subscriptions","organizations_url":"https://api.github.com/users/zaki50/orgs","repos_url":"https://api.github.com/users/zaki50/repos","events_url":"https://api.github.com/users/zaki50/events{/privacy}","received_events_url":"https://api.github.com/users/zaki50/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-05-11T15:19:32Z","updated_at":"2015-05-12T05:01:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c4afa62b9ab0e01561bd5809eed70093b5c12fb5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/realm/realm-java/pulls/1108/commits","review_comments_url":"https://api.github.com/repos/realm/realm-java/pulls/1108/comments","review_comment_url":"https://api.github.com/repos/realm/realm-java/pulls/comments{/number}","comments_url":"https://api.github.com/repos/realm/realm-java/issues/1108/comments","statuses_url":"https://api.github.com/repos/realm/realm-java/statuses/1edadc338ec86f24788cf77f4ea10cadd0cf4038","head":{"label":"zaki50:zaki-add_throws_to_javadoc_comment","ref":"zaki-add_throws_to_javadoc_comment","sha":"1edadc338ec86f24788cf77f4ea10cadd0cf4038","user":{"login":"zaki50","id":406660,"avatar_url":"https://avatars.githubusercontent.com/u/406660?v=3","gravatar_id":"","url":"https://api.github.com/users/zaki50","html_url":"https://github.com/zaki50","followers_url":"https://api.github.com/users/zaki50/followers","following_url":"https://api.github.com/users/zaki50/following{/other_user}","gists_url":"https://api.github.com/users/zaki50/gists{/gist_id}","starred_url":"https://api.github.com/users/zaki50/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zaki50/subscriptions","organizations_url":"https://api.github.com/users/zaki50/orgs","repos_url":"https://api.github.com/users/zaki50/repos","events_url":"https://api.github.com/users/zaki50/events{/privacy}","received_events_url":"https://api.github.com/users/zaki50/received_events","type":"User","site_admin":false},"repo":{"id":35264603,"name":"realm-java","full_name":"zaki50/realm-java","owner":{"login":"zaki50","id":406660,"avatar_url":"https://avatars.githubusercontent.com/u/406660?v=3","gravatar_id":"","url":"https://api.github.com/users/zaki50","html_url":"https://github.com/zaki50","followers_url":"https://api.github.com/users/zaki50/followers","following_url":"https://api.github.com/users/zaki50/following{/other_user}","gists_url":"https://api.github.com/users/zaki50/gists{/gist_id}","starred_url":"https://api.github.com/users/zaki50/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zaki50/subscriptions","organizations_url":"https://api.github.com/users/zaki50/orgs","repos_url":"https://api.github.com/users/zaki50/repos","events_url":"https://api.github.com/users/zaki50/events{/privacy}","received_events_url":"https://api.github.com/users/zaki50/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zaki50/realm-java","description":"Realm is a mobile database: a replacement for SQLite & ORMs","fork":true,"url":"https://api.github.com/repos/zaki50/realm-java","forks_url":"https://api.github.com/repos/zaki50/realm-java/forks","keys_url":"https://api.github.com/repos/zaki50/realm-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zaki50/realm-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zaki50/realm-java/teams","hooks_url":"https://api.github.com/repos/zaki50/realm-java/hooks","issue_events_url":"https://api.github.com/repos/zaki50/realm-java/issues/events{/number}","events_url":"https://api.github.com/repos/zaki50/realm-java/events","assignees_url":"https://api.github.com/repos/zaki50/realm-java/assignees{/user}","branches_url":"https://api.github.com/repos/zaki50/realm-java/branches{/branch}","tags_url":"https://api.github.com/repos/zaki50/realm-java/tags","blobs_url":"https://api.github.com/repos/zaki50/realm-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zaki50/realm-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zaki50/realm-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/zaki50/realm-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zaki50/realm-java/statuses/{sha}","languages_url":"https://api.github.com/repos/zaki50/realm-java/languages","stargazers_url":"https://api.github.com/repos/zaki50/realm-java/stargazers","contributors_url":"https://api.github.com/repos/zaki50/realm-java/contributors","subscribers_url":"https://api.github.com/repos/zaki50/realm-java/subscribers","subscription_url":"https://api.github.com/repos/zaki50/realm-java/subscription","commits_url":"https://api.github.com/repos/zaki50/realm-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/zaki50/realm-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/zaki50/realm-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/zaki50/realm-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/zaki50/realm-java/contents/{+path}","compare_url":"https://api.github.com/repos/zaki50/realm-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zaki50/realm-java/merges","archive_url":"https://api.github.com/repos/zaki50/realm-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zaki50/realm-java/downloads","issues_url":"https://api.github.com/repos/zaki50/realm-java/issues{/number}","pulls_url":"https://api.github.com/repos/zaki50/realm-java/pulls{/number}","milestones_url":"https://api.github.com/repos/zaki50/realm-java/milestones{/number}","notifications_url":"https://api.github.com/repos/zaki50/realm-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zaki50/realm-java/labels{/name}","releases_url":"https://api.github.com/repos/zaki50/realm-java/releases{/id}","created_at":"2015-05-08T07:19:26Z","updated_at":"2015-05-08T07:19:27Z","pushed_at":"2015-05-11T15:18:47Z","git_url":"git://github.com/zaki50/realm-java.git","ssh_url":"git@github.com:zaki50/realm-java.git","clone_url":"https://github.com/zaki50/realm-java.git","svn_url":"https://github.com/zaki50/realm-java","homepage":"http://realm.io","size":37701,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"realm:master","ref":"master","sha":"7c7562e886bfea9acb5f8028a67b8fb5fb303811","user":{"login":"realm","id":7575099,"avatar_url":"https://avatars.githubusercontent.com/u/7575099?v=3","gravatar_id":"","url":"https://api.github.com/users/realm","html_url":"https://github.com/realm","followers_url":"https://api.github.com/users/realm/followers","following_url":"https://api.github.com/users/realm/following{/other_user}","gists_url":"https://api.github.com/users/realm/gists{/gist_id}","starred_url":"https://api.github.com/users/realm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/realm/subscriptions","organizations_url":"https://api.github.com/users/realm/orgs","repos_url":"https://api.github.com/users/realm/repos","events_url":"https://api.github.com/users/realm/events{/privacy}","received_events_url":"https://api.github.com/users/realm/received_events","type":"Organization","site_admin":false},"repo":{"id":4084908,"name":"realm-java","full_name":"realm/realm-java","owner":{"login":"realm","id":7575099,"avatar_url":"https://avatars.githubusercontent.com/u/7575099?v=3","gravatar_id":"","url":"https://api.github.com/users/realm","html_url":"https://github.com/realm","followers_url":"https://api.github.com/users/realm/followers","following_url":"https://api.github.com/users/realm/following{/other_user}","gists_url":"https://api.github.com/users/realm/gists{/gist_id}","starred_url":"https://api.github.com/users/realm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/realm/subscriptions","organizations_url":"https://api.github.com/users/realm/orgs","repos_url":"https://api.github.com/users/realm/repos","events_url":"https://api.github.com/users/realm/events{/privacy}","received_events_url":"https://api.github.com/users/realm/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/realm/realm-java","description":"Realm is a mobile database: a replacement for SQLite & ORMs","fork":false,"url":"https://api.github.com/repos/realm/realm-java","forks_url":"https://api.github.com/repos/realm/realm-java/forks","keys_url":"https://api.github.com/repos/realm/realm-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/realm/realm-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/realm/realm-java/teams","hooks_url":"https://api.github.com/repos/realm/realm-java/hooks","issue_events_url":"https://api.github.com/repos/realm/realm-java/issues/events{/number}","events_url":"https://api.github.com/repos/realm/realm-java/events","assignees_url":"https://api.github.com/repos/realm/realm-java/assignees{/user}","branches_url":"https://api.github.com/repos/realm/realm-java/branches{/branch}","tags_url":"https://api.github.com/repos/realm/realm-java/tags","blobs_url":"https://api.github.com/repos/realm/realm-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/realm/realm-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/realm/realm-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/realm/realm-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/realm/realm-java/statuses/{sha}","languages_url":"https://api.github.com/repos/realm/realm-java/languages","stargazers_url":"https://api.github.com/repos/realm/realm-java/stargazers","contributors_url":"https://api.github.com/repos/realm/realm-java/contributors","subscribers_url":"https://api.github.com/repos/realm/realm-java/subscribers","subscription_url":"https://api.github.com/repos/realm/realm-java/subscription","commits_url":"https://api.github.com/repos/realm/realm-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/realm/realm-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/realm/realm-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/realm/realm-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/realm/realm-java/contents/{+path}","compare_url":"https://api.github.com/repos/realm/realm-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/realm/realm-java/merges","archive_url":"https://api.github.com/repos/realm/realm-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/realm/realm-java/downloads","issues_url":"https://api.github.com/repos/realm/realm-java/issues{/number}","pulls_url":"https://api.github.com/repos/realm/realm-java/pulls{/number}","milestones_url":"https://api.github.com/repos/realm/realm-java/milestones{/number}","notifications_url":"https://api.github.com/repos/realm/realm-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/realm/realm-java/labels{/name}","releases_url":"https://api.github.com/repos/realm/realm-java/releases{/id}","created_at":"2012-04-20T09:18:42Z","updated_at":"2015-05-12T02:55:08Z","pushed_at":"2015-05-11T15:19:33Z","git_url":"git://github.com/realm/realm-java.git","ssh_url":"git@github.com:realm/realm-java.git","clone_url":"https://github.com/realm/realm-java.git","svn_url":"https://github.com/realm/realm-java","homepage":"http://realm.io","size":56551,"stargazers_count":1737,"watchers_count":1737,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":149,"mirror_url":null,"open_issues_count":120,"forks":149,"open_issues":120,"watchers":1737,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/realm/realm-java/pulls/1108"},"html":{"href":"https://github.com/realm/realm-java/pull/1108"},"issue":{"href":"https://api.github.com/repos/realm/realm-java/issues/1108"},"comments":{"href":"https://api.github.com/repos/realm/realm-java/issues/1108/comments"},"review_comments":{"href":"https://api.github.com/repos/realm/realm-java/pulls/1108/comments"},"review_comment":{"href":"https://api.github.com/repos/realm/realm-java/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/realm/realm-java/pulls/1108/commits"},"statuses":{"href":"https://api.github.com/repos/realm/realm-java/statuses/1edadc338ec86f24788cf77f4ea10cadd0cf4038"}}}}