{"action":"created","comment":{"url":"https://api.github.com/repos/apache/commons-text/pulls/comments/25754951","id":25754951,"diff_hunk":"@@ -28,48 +27,49 @@\n  */\n public class FuzzyScoreTest {\n \n-    private static FuzzyScore score;\n-\n-    @BeforeClass\n-    public static void setUp() {\n-        score = new FuzzyScore();\n-    }\n-\n     @Test\n     public void testGetFuzzyScore() throws Exception {\n-        assertEquals(0, (int) score.compare(\"\", \"\", Locale.ENGLISH));\n+        FuzzyScore score = new FuzzyScore(Locale.ENGLISH);","path":"src/test/java/org/apache/commons/text/similarity/FuzzyScoreTest.java","position":22,"original_position":22,"commit_id":"390d1d7f67d01c901cd3e7d59b8366fcabc785d1","original_commit_id":"390d1d7f67d01c901cd3e7d59b8366fcabc785d1","user":{"login":"britter","id":1327662,"avatar_url":"https://avatars.githubusercontent.com/u/1327662?v=3","gravatar_id":"","url":"https://api.github.com/users/britter","html_url":"https://github.com/britter","followers_url":"https://api.github.com/users/britter/followers","following_url":"https://api.github.com/users/britter/following{/other_user}","gists_url":"https://api.github.com/users/britter/gists{/gist_id}","starred_url":"https://api.github.com/users/britter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/britter/subscriptions","organizations_url":"https://api.github.com/users/britter/orgs","repos_url":"https://api.github.com/users/britter/repos","events_url":"https://api.github.com/users/britter/events{/privacy}","received_events_url":"https://api.github.com/users/britter/received_events","type":"User","site_admin":false},"body":"Can be moved to ```@Before```","created_at":"2015-03-04T06:37:49Z","updated_at":"2015-03-04T06:37:49Z","html_url":"https://github.com/apache/commons-text/pull/1#discussion_r25754951","pull_request_url":"https://api.github.com/repos/apache/commons-text/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/apache/commons-text/pulls/comments/25754951"},"html":{"href":"https://github.com/apache/commons-text/pull/1#discussion_r25754951"},"pull_request":{"href":"https://api.github.com/repos/apache/commons-text/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/apache/commons-text/pulls/1","id":30403068,"html_url":"https://github.com/apache/commons-text/pull/1","diff_url":"https://github.com/apache/commons-text/pull/1.diff","patch_url":"https://github.com/apache/commons-text/pull/1.patch","issue_url":"https://api.github.com/repos/apache/commons-text/issues/1","number":1,"state":"open","locked":false,"title":"Sandbox 491","user":{"login":"j--baker","id":10574043,"avatar_url":"https://avatars.githubusercontent.com/u/10574043?v=3","gravatar_id":"","url":"https://api.github.com/users/j--baker","html_url":"https://github.com/j--baker","followers_url":"https://api.github.com/users/j--baker/followers","following_url":"https://api.github.com/users/j--baker/following{/other_user}","gists_url":"https://api.github.com/users/j--baker/gists{/gist_id}","starred_url":"https://api.github.com/users/j--baker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j--baker/subscriptions","organizations_url":"https://api.github.com/users/j--baker/orgs","repos_url":"https://api.github.com/users/j--baker/repos","events_url":"https://api.github.com/users/j--baker/events{/privacy}","received_events_url":"https://api.github.com/users/j--baker/received_events","type":"User","site_admin":false},"body":"Please review these changes to LevenshteinDistance and FuzzyScore.\r\n\r\n* The extra parameters are now final fields.\r\n* The other helper methods not used to implement StringMetric are now private and static.\r\n* The unlimited version of the Levenshtein distance algorithm has been restored from commons-lang3.","created_at":"2015-03-03T19:14:14Z","updated_at":"2015-03-04T06:37:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c6d046261bd2633e560ee7d94c600a0799836304","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/apache/commons-text/pulls/1/commits","review_comments_url":"https://api.github.com/repos/apache/commons-text/pulls/1/comments","review_comment_url":"https://api.github.com/repos/apache/commons-text/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/commons-text/issues/1/comments","statuses_url":"https://api.github.com/repos/apache/commons-text/statuses/390d1d7f67d01c901cd3e7d59b8366fcabc785d1","head":{"label":"j--baker:SANDBOX-491","ref":"SANDBOX-491","sha":"390d1d7f67d01c901cd3e7d59b8366fcabc785d1","user":{"login":"j--baker","id":10574043,"avatar_url":"https://avatars.githubusercontent.com/u/10574043?v=3","gravatar_id":"","url":"https://api.github.com/users/j--baker","html_url":"https://github.com/j--baker","followers_url":"https://api.github.com/users/j--baker/followers","following_url":"https://api.github.com/users/j--baker/following{/other_user}","gists_url":"https://api.github.com/users/j--baker/gists{/gist_id}","starred_url":"https://api.github.com/users/j--baker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j--baker/subscriptions","organizations_url":"https://api.github.com/users/j--baker/orgs","repos_url":"https://api.github.com/users/j--baker/repos","events_url":"https://api.github.com/users/j--baker/events{/privacy}","received_events_url":"https://api.github.com/users/j--baker/received_events","type":"User","site_admin":false},"repo":{"id":31504730,"name":"commons-text","full_name":"j--baker/commons-text","owner":{"login":"j--baker","id":10574043,"avatar_url":"https://avatars.githubusercontent.com/u/10574043?v=3","gravatar_id":"","url":"https://api.github.com/users/j--baker","html_url":"https://github.com/j--baker","followers_url":"https://api.github.com/users/j--baker/followers","following_url":"https://api.github.com/users/j--baker/following{/other_user}","gists_url":"https://api.github.com/users/j--baker/gists{/gist_id}","starred_url":"https://api.github.com/users/j--baker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j--baker/subscriptions","organizations_url":"https://api.github.com/users/j--baker/orgs","repos_url":"https://api.github.com/users/j--baker/repos","events_url":"https://api.github.com/users/j--baker/events{/privacy}","received_events_url":"https://api.github.com/users/j--baker/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/j--baker/commons-text","description":"Mirror of Apache Commons Text","fork":true,"url":"https://api.github.com/repos/j--baker/commons-text","forks_url":"https://api.github.com/repos/j--baker/commons-text/forks","keys_url":"https://api.github.com/repos/j--baker/commons-text/keys{/key_id}","collaborators_url":"https://api.github.com/repos/j--baker/commons-text/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/j--baker/commons-text/teams","hooks_url":"https://api.github.com/repos/j--baker/commons-text/hooks","issue_events_url":"https://api.github.com/repos/j--baker/commons-text/issues/events{/number}","events_url":"https://api.github.com/repos/j--baker/commons-text/events","assignees_url":"https://api.github.com/repos/j--baker/commons-text/assignees{/user}","branches_url":"https://api.github.com/repos/j--baker/commons-text/branches{/branch}","tags_url":"https://api.github.com/repos/j--baker/commons-text/tags","blobs_url":"https://api.github.com/repos/j--baker/commons-text/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/j--baker/commons-text/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/j--baker/commons-text/git/refs{/sha}","trees_url":"https://api.github.com/repos/j--baker/commons-text/git/trees{/sha}","statuses_url":"https://api.github.com/repos/j--baker/commons-text/statuses/{sha}","languages_url":"https://api.github.com/repos/j--baker/commons-text/languages","stargazers_url":"https://api.github.com/repos/j--baker/commons-text/stargazers","contributors_url":"https://api.github.com/repos/j--baker/commons-text/contributors","subscribers_url":"https://api.github.com/repos/j--baker/commons-text/subscribers","subscription_url":"https://api.github.com/repos/j--baker/commons-text/subscription","commits_url":"https://api.github.com/repos/j--baker/commons-text/commits{/sha}","git_commits_url":"https://api.github.com/repos/j--baker/commons-text/git/commits{/sha}","comments_url":"https://api.github.com/repos/j--baker/commons-text/comments{/number}","issue_comment_url":"https://api.github.com/repos/j--baker/commons-text/issues/comments{/number}","contents_url":"https://api.github.com/repos/j--baker/commons-text/contents/{+path}","compare_url":"https://api.github.com/repos/j--baker/commons-text/compare/{base}...{head}","merges_url":"https://api.github.com/repos/j--baker/commons-text/merges","archive_url":"https://api.github.com/repos/j--baker/commons-text/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/j--baker/commons-text/downloads","issues_url":"https://api.github.com/repos/j--baker/commons-text/issues{/number}","pulls_url":"https://api.github.com/repos/j--baker/commons-text/pulls{/number}","milestones_url":"https://api.github.com/repos/j--baker/commons-text/milestones{/number}","notifications_url":"https://api.github.com/repos/j--baker/commons-text/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/j--baker/commons-text/labels{/name}","releases_url":"https://api.github.com/repos/j--baker/commons-text/releases{/id}","created_at":"2015-03-01T17:50:41Z","updated_at":"2015-03-03T18:35:19Z","pushed_at":"2015-03-03T21:08:56Z","git_url":"git://github.com/j--baker/commons-text.git","ssh_url":"git@github.com:j--baker/commons-text.git","clone_url":"https://github.com/j--baker/commons-text.git","svn_url":"https://github.com/j--baker/commons-text","homepage":null,"size":360,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"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":"apache:master","ref":"master","sha":"2592024dd205376d65db6c74954e3d950a3c249e","user":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":26426726,"name":"commons-text","full_name":"apache/commons-text","owner":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apache/commons-text","description":"Mirror of Apache Commons Text","fork":false,"url":"https://api.github.com/repos/apache/commons-text","forks_url":"https://api.github.com/repos/apache/commons-text/forks","keys_url":"https://api.github.com/repos/apache/commons-text/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/commons-text/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/commons-text/teams","hooks_url":"https://api.github.com/repos/apache/commons-text/hooks","issue_events_url":"https://api.github.com/repos/apache/commons-text/issues/events{/number}","events_url":"https://api.github.com/repos/apache/commons-text/events","assignees_url":"https://api.github.com/repos/apache/commons-text/assignees{/user}","branches_url":"https://api.github.com/repos/apache/commons-text/branches{/branch}","tags_url":"https://api.github.com/repos/apache/commons-text/tags","blobs_url":"https://api.github.com/repos/apache/commons-text/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/commons-text/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/commons-text/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/commons-text/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/commons-text/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/commons-text/languages","stargazers_url":"https://api.github.com/repos/apache/commons-text/stargazers","contributors_url":"https://api.github.com/repos/apache/commons-text/contributors","subscribers_url":"https://api.github.com/repos/apache/commons-text/subscribers","subscription_url":"https://api.github.com/repos/apache/commons-text/subscription","commits_url":"https://api.github.com/repos/apache/commons-text/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/commons-text/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/commons-text/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/commons-text/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/commons-text/contents/{+path}","compare_url":"https://api.github.com/repos/apache/commons-text/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/commons-text/merges","archive_url":"https://api.github.com/repos/apache/commons-text/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/commons-text/downloads","issues_url":"https://api.github.com/repos/apache/commons-text/issues{/number}","pulls_url":"https://api.github.com/repos/apache/commons-text/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/commons-text/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/commons-text/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/commons-text/labels{/name}","releases_url":"https://api.github.com/repos/apache/commons-text/releases{/id}","created_at":"2014-11-10T08:00:07Z","updated_at":"2015-03-03T00:42:47Z","pushed_at":"2015-03-03T00:42:47Z","git_url":"git://github.com/apache/commons-text.git","ssh_url":"git@github.com:apache/commons-text.git","clone_url":"https://github.com/apache/commons-text.git","svn_url":"https://github.com/apache/commons-text","homepage":null,"size":360,"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":"git://git.apache.org/commons-text.git","open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/commons-text/pulls/1"},"html":{"href":"https://github.com/apache/commons-text/pull/1"},"issue":{"href":"https://api.github.com/repos/apache/commons-text/issues/1"},"comments":{"href":"https://api.github.com/repos/apache/commons-text/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/commons-text/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/commons-text/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/commons-text/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/apache/commons-text/statuses/390d1d7f67d01c901cd3e7d59b8366fcabc785d1"}}}}