{"action":"created","comment":{"url":"https://api.github.com/repos/openmrs/openmrs-core/pulls/comments/25315496","id":25315496,"diff_hunk":"@@ -526,10 +526,9 @@ public Boolean hasTag(String tagToFind) {\n \t *         false\r\n \t */\r\n \tpublic Boolean isPreferredInLanguage(String language) {\r\n-\t\tif (!StringUtils.isBlank(language) && this.locale != null) {\r\n-\t\t\tif (isPreferred() && this.locale.getLanguage().equals(language)) {\r\n-\t\t\t\treturn true;\r\n-\t\t\t}\r\n+\t\tif (!StringUtils.isBlank(language) && this.locale != null && isPreferred()\r\n+\t\t        && this.locale.getLanguage().equals(language)) {\r\n+\t\t\treturn true;\r\n \t\t}\r","path":"api/src/main/java/org/openmrs/ConceptName.java","position":11,"original_position":11,"commit_id":"aac7243f539a932260066a54fbc35b853cc2abb6","original_commit_id":"aac7243f539a932260066a54fbc35b853cc2abb6","user":{"login":"harsha89","id":1561366,"avatar_url":"https://avatars.githubusercontent.com/u/1561366?v=3","gravatar_id":"","url":"https://api.github.com/users/harsha89","html_url":"https://github.com/harsha89","followers_url":"https://api.github.com/users/harsha89/followers","following_url":"https://api.github.com/users/harsha89/following{/other_user}","gists_url":"https://api.github.com/users/harsha89/gists{/gist_id}","starred_url":"https://api.github.com/users/harsha89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harsha89/subscriptions","organizations_url":"https://api.github.com/users/harsha89/orgs","repos_url":"https://api.github.com/users/harsha89/repos","events_url":"https://api.github.com/users/harsha89/events{/privacy}","received_events_url":"https://api.github.com/users/harsha89/received_events","type":"User","site_admin":false},"body":"Code make complex by aggregating this conditions. Should we have this or not?","created_at":"2015-02-25T03:17:10Z","updated_at":"2015-02-25T03:17:10Z","html_url":"https://github.com/openmrs/openmrs-core/pull/1358#discussion_r25315496","pull_request_url":"https://api.github.com/repos/openmrs/openmrs-core/pulls/1358","_links":{"self":{"href":"https://api.github.com/repos/openmrs/openmrs-core/pulls/comments/25315496"},"html":{"href":"https://github.com/openmrs/openmrs-core/pull/1358#discussion_r25315496"},"pull_request":{"href":"https://api.github.com/repos/openmrs/openmrs-core/pulls/1358"}}},"pull_request":{"url":"https://api.github.com/repos/openmrs/openmrs-core/pulls/1358","id":29939099,"html_url":"https://github.com/openmrs/openmrs-core/pull/1358","diff_url":"https://github.com/openmrs/openmrs-core/pull/1358.diff","patch_url":"https://github.com/openmrs/openmrs-core/pull/1358.patch","issue_url":"https://api.github.com/repos/openmrs/openmrs-core/issues/1358","number":1358,"state":"open","locked":false,"title":"Containing all gci-2014 commits","user":{"login":"k-joseph","id":2853915,"avatar_url":"https://avatars.githubusercontent.com/u/2853915?v=3","gravatar_id":"","url":"https://api.github.com/users/k-joseph","html_url":"https://github.com/k-joseph","followers_url":"https://api.github.com/users/k-joseph/followers","following_url":"https://api.github.com/users/k-joseph/following{/other_user}","gists_url":"https://api.github.com/users/k-joseph/gists{/gist_id}","starred_url":"https://api.github.com/users/k-joseph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k-joseph/subscriptions","organizations_url":"https://api.github.com/users/k-joseph/orgs","repos_url":"https://api.github.com/users/k-joseph/repos","events_url":"https://api.github.com/users/k-joseph/events{/privacy}","received_events_url":"https://api.github.com/users/k-joseph/received_events","type":"User","site_admin":false},"body":"This PR contains all commits previously merged into https://github.com/k-joseph/openmrs-core/tree/gci-2014","created_at":"2015-02-24T21:46:42Z","updated_at":"2015-02-25T03:17:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"882b95d7d486799a18e9a7ed171901d0dd8601d5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/openmrs/openmrs-core/pulls/1358/commits","review_comments_url":"https://api.github.com/repos/openmrs/openmrs-core/pulls/1358/comments","review_comment_url":"https://api.github.com/repos/openmrs/openmrs-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openmrs/openmrs-core/issues/1358/comments","statuses_url":"https://api.github.com/repos/openmrs/openmrs-core/statuses/aac7243f539a932260066a54fbc35b853cc2abb6","head":{"label":"k-joseph:gci-2014","ref":"gci-2014","sha":"aac7243f539a932260066a54fbc35b853cc2abb6","user":{"login":"k-joseph","id":2853915,"avatar_url":"https://avatars.githubusercontent.com/u/2853915?v=3","gravatar_id":"","url":"https://api.github.com/users/k-joseph","html_url":"https://github.com/k-joseph","followers_url":"https://api.github.com/users/k-joseph/followers","following_url":"https://api.github.com/users/k-joseph/following{/other_user}","gists_url":"https://api.github.com/users/k-joseph/gists{/gist_id}","starred_url":"https://api.github.com/users/k-joseph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k-joseph/subscriptions","organizations_url":"https://api.github.com/users/k-joseph/orgs","repos_url":"https://api.github.com/users/k-joseph/repos","events_url":"https://api.github.com/users/k-joseph/events{/privacy}","received_events_url":"https://api.github.com/users/k-joseph/received_events","type":"User","site_admin":false},"repo":{"id":7113334,"name":"openmrs-core","full_name":"k-joseph/openmrs-core","owner":{"login":"k-joseph","id":2853915,"avatar_url":"https://avatars.githubusercontent.com/u/2853915?v=3","gravatar_id":"","url":"https://api.github.com/users/k-joseph","html_url":"https://github.com/k-joseph","followers_url":"https://api.github.com/users/k-joseph/followers","following_url":"https://api.github.com/users/k-joseph/following{/other_user}","gists_url":"https://api.github.com/users/k-joseph/gists{/gist_id}","starred_url":"https://api.github.com/users/k-joseph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k-joseph/subscriptions","organizations_url":"https://api.github.com/users/k-joseph/orgs","repos_url":"https://api.github.com/users/k-joseph/repos","events_url":"https://api.github.com/users/k-joseph/events{/privacy}","received_events_url":"https://api.github.com/users/k-joseph/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/k-joseph/openmrs-core","description":"OpenMRS API and web application code","fork":true,"url":"https://api.github.com/repos/k-joseph/openmrs-core","forks_url":"https://api.github.com/repos/k-joseph/openmrs-core/forks","keys_url":"https://api.github.com/repos/k-joseph/openmrs-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/k-joseph/openmrs-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/k-joseph/openmrs-core/teams","hooks_url":"https://api.github.com/repos/k-joseph/openmrs-core/hooks","issue_events_url":"https://api.github.com/repos/k-joseph/openmrs-core/issues/events{/number}","events_url":"https://api.github.com/repos/k-joseph/openmrs-core/events","assignees_url":"https://api.github.com/repos/k-joseph/openmrs-core/assignees{/user}","branches_url":"https://api.github.com/repos/k-joseph/openmrs-core/branches{/branch}","tags_url":"https://api.github.com/repos/k-joseph/openmrs-core/tags","blobs_url":"https://api.github.com/repos/k-joseph/openmrs-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/k-joseph/openmrs-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/k-joseph/openmrs-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/k-joseph/openmrs-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/k-joseph/openmrs-core/statuses/{sha}","languages_url":"https://api.github.com/repos/k-joseph/openmrs-core/languages","stargazers_url":"https://api.github.com/repos/k-joseph/openmrs-core/stargazers","contributors_url":"https://api.github.com/repos/k-joseph/openmrs-core/contributors","subscribers_url":"https://api.github.com/repos/k-joseph/openmrs-core/subscribers","subscription_url":"https://api.github.com/repos/k-joseph/openmrs-core/subscription","commits_url":"https://api.github.com/repos/k-joseph/openmrs-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/k-joseph/openmrs-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/k-joseph/openmrs-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/k-joseph/openmrs-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/k-joseph/openmrs-core/contents/{+path}","compare_url":"https://api.github.com/repos/k-joseph/openmrs-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/k-joseph/openmrs-core/merges","archive_url":"https://api.github.com/repos/k-joseph/openmrs-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/k-joseph/openmrs-core/downloads","issues_url":"https://api.github.com/repos/k-joseph/openmrs-core/issues{/number}","pulls_url":"https://api.github.com/repos/k-joseph/openmrs-core/pulls{/number}","milestones_url":"https://api.github.com/repos/k-joseph/openmrs-core/milestones{/number}","notifications_url":"https://api.github.com/repos/k-joseph/openmrs-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/k-joseph/openmrs-core/labels{/name}","releases_url":"https://api.github.com/repos/k-joseph/openmrs-core/releases{/id}","created_at":"2012-12-11T14:43:27Z","updated_at":"2014-04-03T17:43:48Z","pushed_at":"2015-02-24T22:08:26Z","git_url":"git://github.com/k-joseph/openmrs-core.git","ssh_url":"git@github.com:k-joseph/openmrs-core.git","clone_url":"https://github.com/k-joseph/openmrs-core.git","svn_url":"https://github.com/k-joseph/openmrs-core","homepage":"http://openmrs.org","size":212090,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"openmrs:master","ref":"master","sha":"8605c7667e1f5c25b7df7eb3bd4dd222dff62df7","user":{"login":"openmrs","id":860776,"avatar_url":"https://avatars.githubusercontent.com/u/860776?v=3","gravatar_id":"","url":"https://api.github.com/users/openmrs","html_url":"https://github.com/openmrs","followers_url":"https://api.github.com/users/openmrs/followers","following_url":"https://api.github.com/users/openmrs/following{/other_user}","gists_url":"https://api.github.com/users/openmrs/gists{/gist_id}","starred_url":"https://api.github.com/users/openmrs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openmrs/subscriptions","organizations_url":"https://api.github.com/users/openmrs/orgs","repos_url":"https://api.github.com/users/openmrs/repos","events_url":"https://api.github.com/users/openmrs/events{/privacy}","received_events_url":"https://api.github.com/users/openmrs/received_events","type":"Organization","site_admin":false},"repo":{"id":5187976,"name":"openmrs-core","full_name":"openmrs/openmrs-core","owner":{"login":"openmrs","id":860776,"avatar_url":"https://avatars.githubusercontent.com/u/860776?v=3","gravatar_id":"","url":"https://api.github.com/users/openmrs","html_url":"https://github.com/openmrs","followers_url":"https://api.github.com/users/openmrs/followers","following_url":"https://api.github.com/users/openmrs/following{/other_user}","gists_url":"https://api.github.com/users/openmrs/gists{/gist_id}","starred_url":"https://api.github.com/users/openmrs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openmrs/subscriptions","organizations_url":"https://api.github.com/users/openmrs/orgs","repos_url":"https://api.github.com/users/openmrs/repos","events_url":"https://api.github.com/users/openmrs/events{/privacy}","received_events_url":"https://api.github.com/users/openmrs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openmrs/openmrs-core","description":"OpenMRS API and web application code","fork":false,"url":"https://api.github.com/repos/openmrs/openmrs-core","forks_url":"https://api.github.com/repos/openmrs/openmrs-core/forks","keys_url":"https://api.github.com/repos/openmrs/openmrs-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openmrs/openmrs-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openmrs/openmrs-core/teams","hooks_url":"https://api.github.com/repos/openmrs/openmrs-core/hooks","issue_events_url":"https://api.github.com/repos/openmrs/openmrs-core/issues/events{/number}","events_url":"https://api.github.com/repos/openmrs/openmrs-core/events","assignees_url":"https://api.github.com/repos/openmrs/openmrs-core/assignees{/user}","branches_url":"https://api.github.com/repos/openmrs/openmrs-core/branches{/branch}","tags_url":"https://api.github.com/repos/openmrs/openmrs-core/tags","blobs_url":"https://api.github.com/repos/openmrs/openmrs-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openmrs/openmrs-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openmrs/openmrs-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/openmrs/openmrs-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openmrs/openmrs-core/statuses/{sha}","languages_url":"https://api.github.com/repos/openmrs/openmrs-core/languages","stargazers_url":"https://api.github.com/repos/openmrs/openmrs-core/stargazers","contributors_url":"https://api.github.com/repos/openmrs/openmrs-core/contributors","subscribers_url":"https://api.github.com/repos/openmrs/openmrs-core/subscribers","subscription_url":"https://api.github.com/repos/openmrs/openmrs-core/subscription","commits_url":"https://api.github.com/repos/openmrs/openmrs-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/openmrs/openmrs-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/openmrs/openmrs-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/openmrs/openmrs-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/openmrs/openmrs-core/contents/{+path}","compare_url":"https://api.github.com/repos/openmrs/openmrs-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openmrs/openmrs-core/merges","archive_url":"https://api.github.com/repos/openmrs/openmrs-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openmrs/openmrs-core/downloads","issues_url":"https://api.github.com/repos/openmrs/openmrs-core/issues{/number}","pulls_url":"https://api.github.com/repos/openmrs/openmrs-core/pulls{/number}","milestones_url":"https://api.github.com/repos/openmrs/openmrs-core/milestones{/number}","notifications_url":"https://api.github.com/repos/openmrs/openmrs-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openmrs/openmrs-core/labels{/name}","releases_url":"https://api.github.com/repos/openmrs/openmrs-core/releases{/id}","created_at":"2012-07-26T04:54:29Z","updated_at":"2015-02-24T21:18:43Z","pushed_at":"2015-02-24T21:18:36Z","git_url":"git://github.com/openmrs/openmrs-core.git","ssh_url":"git@github.com:openmrs/openmrs-core.git","clone_url":"https://github.com/openmrs/openmrs-core.git","svn_url":"https://github.com/openmrs/openmrs-core","homepage":"http://openmrs.org","size":257521,"stargazers_count":179,"watchers_count":179,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":954,"mirror_url":null,"open_issues_count":21,"forks":954,"open_issues":21,"watchers":179,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openmrs/openmrs-core/pulls/1358"},"html":{"href":"https://github.com/openmrs/openmrs-core/pull/1358"},"issue":{"href":"https://api.github.com/repos/openmrs/openmrs-core/issues/1358"},"comments":{"href":"https://api.github.com/repos/openmrs/openmrs-core/issues/1358/comments"},"review_comments":{"href":"https://api.github.com/repos/openmrs/openmrs-core/pulls/1358/comments"},"review_comment":{"href":"https://api.github.com/repos/openmrs/openmrs-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openmrs/openmrs-core/pulls/1358/commits"},"statuses":{"href":"https://api.github.com/repos/openmrs/openmrs-core/statuses/aac7243f539a932260066a54fbc35b853cc2abb6"}}}}