{"action":"created","comment":{"url":"https://api.github.com/repos/JabRef/jabref/pulls/comments/58364381","id":58364381,"diff_hunk":"@@ -227,7 +219,7 @@ public String getTabTitle() {\n         if (getBibDatabaseContext().getDatabaseFile() == null) {\n             title.append(GUIGlobals.UNTITLED_TITLE);\n \n-            if (!database().getEntries().isEmpty()) {\n+            if (!getDatabase().getEntries().isEmpty()) {","path":"src/main/java/net/sf/jabref/gui/BasePanel.java","position":102,"original_position":102,"commit_id":"bb4157dc486e1457542619d53490fcbc01bece62","original_commit_id":"bb4157dc486e1457542619d53490fcbc01bece62","user":{"login":"lenhard","id":1515701,"avatar_url":"https://avatars.githubusercontent.com/u/1515701?v=3","gravatar_id":"","url":"https://api.github.com/users/lenhard","html_url":"https://github.com/lenhard","followers_url":"https://api.github.com/users/lenhard/followers","following_url":"https://api.github.com/users/lenhard/following{/other_user}","gists_url":"https://api.github.com/users/lenhard/gists{/gist_id}","starred_url":"https://api.github.com/users/lenhard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lenhard/subscriptions","organizations_url":"https://api.github.com/users/lenhard/orgs","repos_url":"https://api.github.com/users/lenhard/repos","events_url":"https://api.github.com/users/lenhard/events{/privacy}","received_events_url":"https://api.github.com/users/lenhard/received_events","type":"User","site_admin":false},"body":"Surprisingly, the method is called `hasNoEntries`. Maybe we should rename that to `isEmpty` directly? So we can call `getDatabase().isEmpty()`. @tobiasdiez Could you do this in this PR?","created_at":"2016-04-04T11:55:11Z","updated_at":"2016-04-04T11:55:11Z","html_url":"https://github.com/JabRef/jabref/pull/1090#discussion_r58364381","pull_request_url":"https://api.github.com/repos/JabRef/jabref/pulls/1090","_links":{"self":{"href":"https://api.github.com/repos/JabRef/jabref/pulls/comments/58364381"},"html":{"href":"https://github.com/JabRef/jabref/pull/1090#discussion_r58364381"},"pull_request":{"href":"https://api.github.com/repos/JabRef/jabref/pulls/1090"}}},"pull_request":{"url":"https://api.github.com/repos/JabRef/jabref/pulls/1090","id":65069228,"html_url":"https://github.com/JabRef/jabref/pull/1090","diff_url":"https://github.com/JabRef/jabref/pull/1090.diff","patch_url":"https://github.com/JabRef/jabref/pull/1090.patch","issue_url":"https://api.github.com/repos/JabRef/jabref/issues/1090","number":1090,"state":"open","locked":false,"title":"Cleanup of basepanel and mainframe","user":{"login":"tobiasdiez","id":5037600,"avatar_url":"https://avatars.githubusercontent.com/u/5037600?v=3","gravatar_id":"","url":"https://api.github.com/users/tobiasdiez","html_url":"https://github.com/tobiasdiez","followers_url":"https://api.github.com/users/tobiasdiez/followers","following_url":"https://api.github.com/users/tobiasdiez/following{/other_user}","gists_url":"https://api.github.com/users/tobiasdiez/gists{/gist_id}","starred_url":"https://api.github.com/users/tobiasdiez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobiasdiez/subscriptions","organizations_url":"https://api.github.com/users/tobiasdiez/orgs","repos_url":"https://api.github.com/users/tobiasdiez/repos","events_url":"https://api.github.com/users/tobiasdiez/events{/privacy}","received_events_url":"https://api.github.com/users/tobiasdiez/received_events","type":"User","site_admin":false},"body":"Just made some classes or methods private. Also deleted unused code.\r\n\r\n- [ ] Change in CHANGELOG.md described\r\n- [ ] Tests created for changes\r\n- [ ] Screenshots added (for bigger UI changes)\r\n\r\n","created_at":"2016-04-03T14:02:47Z","updated_at":"2016-04-04T11:55:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0bf41f2cbf963eb2127adf155810772ce63f4db3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/JabRef/jabref/pulls/1090/commits","review_comments_url":"https://api.github.com/repos/JabRef/jabref/pulls/1090/comments","review_comment_url":"https://api.github.com/repos/JabRef/jabref/pulls/comments{/number}","comments_url":"https://api.github.com/repos/JabRef/jabref/issues/1090/comments","statuses_url":"https://api.github.com/repos/JabRef/jabref/statuses/bb4157dc486e1457542619d53490fcbc01bece62","head":{"label":"tobiasdiez:jabrefframecleanup","ref":"jabrefframecleanup","sha":"bb4157dc486e1457542619d53490fcbc01bece62","user":{"login":"tobiasdiez","id":5037600,"avatar_url":"https://avatars.githubusercontent.com/u/5037600?v=3","gravatar_id":"","url":"https://api.github.com/users/tobiasdiez","html_url":"https://github.com/tobiasdiez","followers_url":"https://api.github.com/users/tobiasdiez/followers","following_url":"https://api.github.com/users/tobiasdiez/following{/other_user}","gists_url":"https://api.github.com/users/tobiasdiez/gists{/gist_id}","starred_url":"https://api.github.com/users/tobiasdiez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobiasdiez/subscriptions","organizations_url":"https://api.github.com/users/tobiasdiez/orgs","repos_url":"https://api.github.com/users/tobiasdiez/repos","events_url":"https://api.github.com/users/tobiasdiez/events{/privacy}","received_events_url":"https://api.github.com/users/tobiasdiez/received_events","type":"User","site_admin":false},"repo":{"id":25407066,"name":"jabref","full_name":"tobiasdiez/jabref","owner":{"login":"tobiasdiez","id":5037600,"avatar_url":"https://avatars.githubusercontent.com/u/5037600?v=3","gravatar_id":"","url":"https://api.github.com/users/tobiasdiez","html_url":"https://github.com/tobiasdiez","followers_url":"https://api.github.com/users/tobiasdiez/followers","following_url":"https://api.github.com/users/tobiasdiez/following{/other_user}","gists_url":"https://api.github.com/users/tobiasdiez/gists{/gist_id}","starred_url":"https://api.github.com/users/tobiasdiez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobiasdiez/subscriptions","organizations_url":"https://api.github.com/users/tobiasdiez/orgs","repos_url":"https://api.github.com/users/tobiasdiez/repos","events_url":"https://api.github.com/users/tobiasdiez/events{/privacy}","received_events_url":"https://api.github.com/users/tobiasdiez/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tobiasdiez/jabref","description":"Graphical Java application for managing bibtex (.bib) databases","fork":true,"url":"https://api.github.com/repos/tobiasdiez/jabref","forks_url":"https://api.github.com/repos/tobiasdiez/jabref/forks","keys_url":"https://api.github.com/repos/tobiasdiez/jabref/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tobiasdiez/jabref/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tobiasdiez/jabref/teams","hooks_url":"https://api.github.com/repos/tobiasdiez/jabref/hooks","issue_events_url":"https://api.github.com/repos/tobiasdiez/jabref/issues/events{/number}","events_url":"https://api.github.com/repos/tobiasdiez/jabref/events","assignees_url":"https://api.github.com/repos/tobiasdiez/jabref/assignees{/user}","branches_url":"https://api.github.com/repos/tobiasdiez/jabref/branches{/branch}","tags_url":"https://api.github.com/repos/tobiasdiez/jabref/tags","blobs_url":"https://api.github.com/repos/tobiasdiez/jabref/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tobiasdiez/jabref/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tobiasdiez/jabref/git/refs{/sha}","trees_url":"https://api.github.com/repos/tobiasdiez/jabref/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tobiasdiez/jabref/statuses/{sha}","languages_url":"https://api.github.com/repos/tobiasdiez/jabref/languages","stargazers_url":"https://api.github.com/repos/tobiasdiez/jabref/stargazers","contributors_url":"https://api.github.com/repos/tobiasdiez/jabref/contributors","subscribers_url":"https://api.github.com/repos/tobiasdiez/jabref/subscribers","subscription_url":"https://api.github.com/repos/tobiasdiez/jabref/subscription","commits_url":"https://api.github.com/repos/tobiasdiez/jabref/commits{/sha}","git_commits_url":"https://api.github.com/repos/tobiasdiez/jabref/git/commits{/sha}","comments_url":"https://api.github.com/repos/tobiasdiez/jabref/comments{/number}","issue_comment_url":"https://api.github.com/repos/tobiasdiez/jabref/issues/comments{/number}","contents_url":"https://api.github.com/repos/tobiasdiez/jabref/contents/{+path}","compare_url":"https://api.github.com/repos/tobiasdiez/jabref/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tobiasdiez/jabref/merges","archive_url":"https://api.github.com/repos/tobiasdiez/jabref/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tobiasdiez/jabref/downloads","issues_url":"https://api.github.com/repos/tobiasdiez/jabref/issues{/number}","pulls_url":"https://api.github.com/repos/tobiasdiez/jabref/pulls{/number}","milestones_url":"https://api.github.com/repos/tobiasdiez/jabref/milestones{/number}","notifications_url":"https://api.github.com/repos/tobiasdiez/jabref/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tobiasdiez/jabref/labels{/name}","releases_url":"https://api.github.com/repos/tobiasdiez/jabref/releases{/id}","deployments_url":"https://api.github.com/repos/tobiasdiez/jabref/deployments","created_at":"2014-10-18T19:04:49Z","updated_at":"2014-11-29T22:04:20Z","pushed_at":"2016-04-03T14:15:09Z","git_url":"git://github.com/tobiasdiez/jabref.git","ssh_url":"git@github.com:tobiasdiez/jabref.git","clone_url":"https://github.com/tobiasdiez/jabref.git","svn_url":"https://github.com/tobiasdiez/jabref","homepage":"http://jabref.sourceforge.net/","size":82865,"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":"JabRef:master","ref":"master","sha":"bb419c801c04dfe7cd31126d539e813d13660f7e","user":{"login":"JabRef","id":3914421,"avatar_url":"https://avatars.githubusercontent.com/u/3914421?v=3","gravatar_id":"","url":"https://api.github.com/users/JabRef","html_url":"https://github.com/JabRef","followers_url":"https://api.github.com/users/JabRef/followers","following_url":"https://api.github.com/users/JabRef/following{/other_user}","gists_url":"https://api.github.com/users/JabRef/gists{/gist_id}","starred_url":"https://api.github.com/users/JabRef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JabRef/subscriptions","organizations_url":"https://api.github.com/users/JabRef/orgs","repos_url":"https://api.github.com/users/JabRef/repos","events_url":"https://api.github.com/users/JabRef/events{/privacy}","received_events_url":"https://api.github.com/users/JabRef/received_events","type":"Organization","site_admin":false},"repo":{"id":17634071,"name":"jabref","full_name":"JabRef/jabref","owner":{"login":"JabRef","id":3914421,"avatar_url":"https://avatars.githubusercontent.com/u/3914421?v=3","gravatar_id":"","url":"https://api.github.com/users/JabRef","html_url":"https://github.com/JabRef","followers_url":"https://api.github.com/users/JabRef/followers","following_url":"https://api.github.com/users/JabRef/following{/other_user}","gists_url":"https://api.github.com/users/JabRef/gists{/gist_id}","starred_url":"https://api.github.com/users/JabRef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JabRef/subscriptions","organizations_url":"https://api.github.com/users/JabRef/orgs","repos_url":"https://api.github.com/users/JabRef/repos","events_url":"https://api.github.com/users/JabRef/events{/privacy}","received_events_url":"https://api.github.com/users/JabRef/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/JabRef/jabref","description":"Graphical Java application for managing bibtex (.bib) databases","fork":false,"url":"https://api.github.com/repos/JabRef/jabref","forks_url":"https://api.github.com/repos/JabRef/jabref/forks","keys_url":"https://api.github.com/repos/JabRef/jabref/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JabRef/jabref/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JabRef/jabref/teams","hooks_url":"https://api.github.com/repos/JabRef/jabref/hooks","issue_events_url":"https://api.github.com/repos/JabRef/jabref/issues/events{/number}","events_url":"https://api.github.com/repos/JabRef/jabref/events","assignees_url":"https://api.github.com/repos/JabRef/jabref/assignees{/user}","branches_url":"https://api.github.com/repos/JabRef/jabref/branches{/branch}","tags_url":"https://api.github.com/repos/JabRef/jabref/tags","blobs_url":"https://api.github.com/repos/JabRef/jabref/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JabRef/jabref/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JabRef/jabref/git/refs{/sha}","trees_url":"https://api.github.com/repos/JabRef/jabref/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JabRef/jabref/statuses/{sha}","languages_url":"https://api.github.com/repos/JabRef/jabref/languages","stargazers_url":"https://api.github.com/repos/JabRef/jabref/stargazers","contributors_url":"https://api.github.com/repos/JabRef/jabref/contributors","subscribers_url":"https://api.github.com/repos/JabRef/jabref/subscribers","subscription_url":"https://api.github.com/repos/JabRef/jabref/subscription","commits_url":"https://api.github.com/repos/JabRef/jabref/commits{/sha}","git_commits_url":"https://api.github.com/repos/JabRef/jabref/git/commits{/sha}","comments_url":"https://api.github.com/repos/JabRef/jabref/comments{/number}","issue_comment_url":"https://api.github.com/repos/JabRef/jabref/issues/comments{/number}","contents_url":"https://api.github.com/repos/JabRef/jabref/contents/{+path}","compare_url":"https://api.github.com/repos/JabRef/jabref/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JabRef/jabref/merges","archive_url":"https://api.github.com/repos/JabRef/jabref/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JabRef/jabref/downloads","issues_url":"https://api.github.com/repos/JabRef/jabref/issues{/number}","pulls_url":"https://api.github.com/repos/JabRef/jabref/pulls{/number}","milestones_url":"https://api.github.com/repos/JabRef/jabref/milestones{/number}","notifications_url":"https://api.github.com/repos/JabRef/jabref/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JabRef/jabref/labels{/name}","releases_url":"https://api.github.com/repos/JabRef/jabref/releases{/id}","deployments_url":"https://api.github.com/repos/JabRef/jabref/deployments","created_at":"2014-03-11T14:48:42Z","updated_at":"2016-04-02T00:54:44Z","pushed_at":"2016-04-04T11:46:06Z","git_url":"git://github.com/JabRef/jabref.git","ssh_url":"git@github.com:JabRef/jabref.git","clone_url":"https://github.com/JabRef/jabref.git","svn_url":"https://github.com/JabRef/jabref","homepage":"http://www.jabref.org/","size":86307,"stargazers_count":253,"watchers_count":253,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":165,"mirror_url":null,"open_issues_count":195,"forks":165,"open_issues":195,"watchers":253,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/JabRef/jabref/pulls/1090"},"html":{"href":"https://github.com/JabRef/jabref/pull/1090"},"issue":{"href":"https://api.github.com/repos/JabRef/jabref/issues/1090"},"comments":{"href":"https://api.github.com/repos/JabRef/jabref/issues/1090/comments"},"review_comments":{"href":"https://api.github.com/repos/JabRef/jabref/pulls/1090/comments"},"review_comment":{"href":"https://api.github.com/repos/JabRef/jabref/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/JabRef/jabref/pulls/1090/commits"},"statuses":{"href":"https://api.github.com/repos/JabRef/jabref/statuses/bb4157dc486e1457542619d53490fcbc01bece62"}}}}