{"action":"created","comment":{"url":"https://api.github.com/repos/openmrs/openmrs-core/pulls/comments/59094074","id":59094074,"diff_hunk":"@@ -10,17 +10,56 @@\n package org.openmrs.web;\n \n import java.util.Collection;\n+import java.util.Date;\n import java.util.Locale;\n+import java.io.IOException;\n \n import org.junit.Assert;\n import org.junit.Test;\n import org.openmrs.BaseOpenmrsObject;\n+import org.openmrs.api.context.Context;\n+import org.openmrs.util.Format;\n \n /**\n  * Tests methods on the {@link WebUtil} class.\n  */\n public class WebUtilTest {\n \t\n+\n+\t/*\n+\t * Add to achieve clause coverage of predicate (c<=0x20 ||... in normalizedLocal method. \n+\t * \tC1: c <= 0x20\n+\t * \tC2: c >= 0x7f\n+\t * \tC3: c >= 0x20\n+\t * \tC4: c <= 0x7f\n+\t * \tC5: Character.isLetter(c)\n+\t * \tC6: c != 0x5f\n+\t */\n+\t \n+\t@Test\n+\tpublic void normalizeLocalC1T_C2F_C3F_C4T_C5F() throws IOException{","path":"web/src/test/java/org/openmrs/web/WebUtilTest.java","position":31,"original_position":31,"commit_id":"c1132d230f25c9d492a875b129eaf0d1d2d6fd0a","original_commit_id":"c1132d230f25c9d492a875b129eaf0d1d2d6fd0a","user":{"login":"openmrs-bot","id":7291161,"avatar_url":"https://avatars.githubusercontent.com/u/7291161?v=3","gravatar_id":"","url":"https://api.github.com/users/openmrs-bot","html_url":"https://github.com/openmrs-bot","followers_url":"https://api.github.com/users/openmrs-bot/followers","following_url":"https://api.github.com/users/openmrs-bot/following{/other_user}","gists_url":"https://api.github.com/users/openmrs-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/openmrs-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openmrs-bot/subscriptions","organizations_url":"https://api.github.com/users/openmrs-bot/orgs","repos_url":"https://api.github.com/users/openmrs-bot/repos","events_url":"https://api.github.com/users/openmrs-bot/events{/privacy}","received_events_url":"https://api.github.com/users/openmrs-bot/received_events","type":"User","site_admin":false},"body":"![Codacy](https://www.codacy.com/assets/images/favicon.png) Issue found: [Method names should not contain underscores](https://www.codacy.com/app/infrastructure/openmrs-core/file/2381250868/issues/source?bid=3224683&fileBranchId=3225837#l40)","created_at":"2016-04-08T21:49:21Z","updated_at":"2016-04-08T21:49:21Z","html_url":"https://github.com/openmrs/openmrs-core/pull/1757#discussion_r59094074","pull_request_url":"https://api.github.com/repos/openmrs/openmrs-core/pulls/1757","_links":{"self":{"href":"https://api.github.com/repos/openmrs/openmrs-core/pulls/comments/59094074"},"html":{"href":"https://github.com/openmrs/openmrs-core/pull/1757#discussion_r59094074"},"pull_request":{"href":"https://api.github.com/repos/openmrs/openmrs-core/pulls/1757"}}},"pull_request":{"url":"https://api.github.com/repos/openmrs/openmrs-core/pulls/1757","id":65850570,"html_url":"https://github.com/openmrs/openmrs-core/pull/1757","diff_url":"https://github.com/openmrs/openmrs-core/pull/1757.diff","patch_url":"https://github.com/openmrs/openmrs-core/pull/1757.patch","issue_url":"https://api.github.com/repos/openmrs/openmrs-core/issues/1757","number":1757,"state":"open","locked":false,"title":"Format code","user":{"login":"ldf92","id":1283895,"avatar_url":"https://avatars.githubusercontent.com/u/1283895?v=3","gravatar_id":"","url":"https://api.github.com/users/ldf92","html_url":"https://github.com/ldf92","followers_url":"https://api.github.com/users/ldf92/followers","following_url":"https://api.github.com/users/ldf92/following{/other_user}","gists_url":"https://api.github.com/users/ldf92/gists{/gist_id}","starred_url":"https://api.github.com/users/ldf92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ldf92/subscriptions","organizations_url":"https://api.github.com/users/ldf92/orgs","repos_url":"https://api.github.com/users/ldf92/repos","events_url":"https://api.github.com/users/ldf92/events{/privacy}","received_events_url":"https://api.github.com/users/ldf92/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-04-08T21:34:05Z","updated_at":"2016-04-08T21:49:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3498e4b4c35aac126b13d6a05fe3f083c41793a7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/openmrs/openmrs-core/pulls/1757/commits","review_comments_url":"https://api.github.com/repos/openmrs/openmrs-core/pulls/1757/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/1757/comments","statuses_url":"https://api.github.com/repos/openmrs/openmrs-core/statuses/c1132d230f25c9d492a875b129eaf0d1d2d6fd0a","head":{"label":"winglam:master","ref":"master","sha":"c1132d230f25c9d492a875b129eaf0d1d2d6fd0a","user":{"login":"winglam","id":4106907,"avatar_url":"https://avatars.githubusercontent.com/u/4106907?v=3","gravatar_id":"","url":"https://api.github.com/users/winglam","html_url":"https://github.com/winglam","followers_url":"https://api.github.com/users/winglam/followers","following_url":"https://api.github.com/users/winglam/following{/other_user}","gists_url":"https://api.github.com/users/winglam/gists{/gist_id}","starred_url":"https://api.github.com/users/winglam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/winglam/subscriptions","organizations_url":"https://api.github.com/users/winglam/orgs","repos_url":"https://api.github.com/users/winglam/repos","events_url":"https://api.github.com/users/winglam/events{/privacy}","received_events_url":"https://api.github.com/users/winglam/received_events","type":"User","site_admin":false},"repo":{"id":52558947,"name":"openmrs-core","full_name":"winglam/openmrs-core","owner":{"login":"winglam","id":4106907,"avatar_url":"https://avatars.githubusercontent.com/u/4106907?v=3","gravatar_id":"","url":"https://api.github.com/users/winglam","html_url":"https://github.com/winglam","followers_url":"https://api.github.com/users/winglam/followers","following_url":"https://api.github.com/users/winglam/following{/other_user}","gists_url":"https://api.github.com/users/winglam/gists{/gist_id}","starred_url":"https://api.github.com/users/winglam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/winglam/subscriptions","organizations_url":"https://api.github.com/users/winglam/orgs","repos_url":"https://api.github.com/users/winglam/repos","events_url":"https://api.github.com/users/winglam/events{/privacy}","received_events_url":"https://api.github.com/users/winglam/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/winglam/openmrs-core","description":"OpenMRS API and web application code","fork":true,"url":"https://api.github.com/repos/winglam/openmrs-core","forks_url":"https://api.github.com/repos/winglam/openmrs-core/forks","keys_url":"https://api.github.com/repos/winglam/openmrs-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/winglam/openmrs-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/winglam/openmrs-core/teams","hooks_url":"https://api.github.com/repos/winglam/openmrs-core/hooks","issue_events_url":"https://api.github.com/repos/winglam/openmrs-core/issues/events{/number}","events_url":"https://api.github.com/repos/winglam/openmrs-core/events","assignees_url":"https://api.github.com/repos/winglam/openmrs-core/assignees{/user}","branches_url":"https://api.github.com/repos/winglam/openmrs-core/branches{/branch}","tags_url":"https://api.github.com/repos/winglam/openmrs-core/tags","blobs_url":"https://api.github.com/repos/winglam/openmrs-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/winglam/openmrs-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/winglam/openmrs-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/winglam/openmrs-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/winglam/openmrs-core/statuses/{sha}","languages_url":"https://api.github.com/repos/winglam/openmrs-core/languages","stargazers_url":"https://api.github.com/repos/winglam/openmrs-core/stargazers","contributors_url":"https://api.github.com/repos/winglam/openmrs-core/contributors","subscribers_url":"https://api.github.com/repos/winglam/openmrs-core/subscribers","subscription_url":"https://api.github.com/repos/winglam/openmrs-core/subscription","commits_url":"https://api.github.com/repos/winglam/openmrs-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/winglam/openmrs-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/winglam/openmrs-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/winglam/openmrs-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/winglam/openmrs-core/contents/{+path}","compare_url":"https://api.github.com/repos/winglam/openmrs-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/winglam/openmrs-core/merges","archive_url":"https://api.github.com/repos/winglam/openmrs-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/winglam/openmrs-core/downloads","issues_url":"https://api.github.com/repos/winglam/openmrs-core/issues{/number}","pulls_url":"https://api.github.com/repos/winglam/openmrs-core/pulls{/number}","milestones_url":"https://api.github.com/repos/winglam/openmrs-core/milestones{/number}","notifications_url":"https://api.github.com/repos/winglam/openmrs-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/winglam/openmrs-core/labels{/name}","releases_url":"https://api.github.com/repos/winglam/openmrs-core/releases{/id}","deployments_url":"https://api.github.com/repos/winglam/openmrs-core/deployments","created_at":"2016-02-25T21:43:20Z","updated_at":"2016-02-25T21:43:27Z","pushed_at":"2016-04-08T21:40:06Z","git_url":"git://github.com/winglam/openmrs-core.git","ssh_url":"git@github.com:winglam/openmrs-core.git","clone_url":"https://github.com/winglam/openmrs-core.git","svn_url":"https://github.com/winglam/openmrs-core","homepage":"http://openmrs.org","size":218551,"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":"6f2a1c3b5e4eaffc31101a303eedb0dd20fe7920","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}","deployments_url":"https://api.github.com/repos/openmrs/openmrs-core/deployments","created_at":"2012-07-26T04:54:29Z","updated_at":"2016-04-08T16:12:32Z","pushed_at":"2016-04-08T21:40:07Z","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":236474,"stargazers_count":321,"watchers_count":321,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1446,"mirror_url":null,"open_issues_count":5,"forks":1446,"open_issues":5,"watchers":321,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openmrs/openmrs-core/pulls/1757"},"html":{"href":"https://github.com/openmrs/openmrs-core/pull/1757"},"issue":{"href":"https://api.github.com/repos/openmrs/openmrs-core/issues/1757"},"comments":{"href":"https://api.github.com/repos/openmrs/openmrs-core/issues/1757/comments"},"review_comments":{"href":"https://api.github.com/repos/openmrs/openmrs-core/pulls/1757/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/1757/commits"},"statuses":{"href":"https://api.github.com/repos/openmrs/openmrs-core/statuses/c1132d230f25c9d492a875b129eaf0d1d2d6fd0a"}}}}