{"action":"created","comment":{"url":"https://api.github.com/repos/webdizz/sonarqube-spellcheck/pulls/comments/40616074","id":40616074,"diff_hunk":"@@ -0,0 +1,103 @@\n+package com.epam.sonarqube.spellcheck.plugin.spellcheck.automaton.states;\n+\n+import java.util.Map;\n+import java.util.concurrent.ConcurrentHashMap;\n+\n+/**\n+ * Class represents the state for finite state machine (automaton)\n+ */\n+public class State {\n+\n+    /* Name of state. For logging purposes */\n+    private String name;\n+\n+    /* Map of all transitions */\n+    private Map<Character, State> transitions;\n+    /* Default transition */\n+    private State elseState;\n+    \n+    private StateCallback callback;\n+    \n+    protected boolean isFinalState = false;","path":"src/main/java/com/epam/sonarqube/spellcheck/plugin/spellcheck/automaton/states/State.java","position":21,"original_position":21,"commit_id":"f357e6741c271161b810f95ba53554714de7ca51","original_commit_id":"f357e6741c271161b810f95ba53554714de7ca51","user":{"login":"webdizz","id":35662,"avatar_url":"https://avatars.githubusercontent.com/u/35662?v=3","gravatar_id":"","url":"https://api.github.com/users/webdizz","html_url":"https://github.com/webdizz","followers_url":"https://api.github.com/users/webdizz/followers","following_url":"https://api.github.com/users/webdizz/following{/other_user}","gists_url":"https://api.github.com/users/webdizz/gists{/gist_id}","starred_url":"https://api.github.com/users/webdizz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webdizz/subscriptions","organizations_url":"https://api.github.com/users/webdizz/orgs","repos_url":"https://api.github.com/users/webdizz/repos","events_url":"https://api.github.com/users/webdizz/events{/privacy}","received_events_url":"https://api.github.com/users/webdizz/received_events","type":"User","site_admin":false},"body":"fields should be sorted according to visibility public, protected, private etc","created_at":"2015-09-28T22:52:15Z","updated_at":"2015-09-28T22:52:15Z","html_url":"https://github.com/webdizz/sonarqube-spellcheck/pull/24#discussion_r40616074","pull_request_url":"https://api.github.com/repos/webdizz/sonarqube-spellcheck/pulls/24","_links":{"self":{"href":"https://api.github.com/repos/webdizz/sonarqube-spellcheck/pulls/comments/40616074"},"html":{"href":"https://github.com/webdizz/sonarqube-spellcheck/pull/24#discussion_r40616074"},"pull_request":{"href":"https://api.github.com/repos/webdizz/sonarqube-spellcheck/pulls/24"}}},"pull_request":{"url":"https://api.github.com/repos/webdizz/sonarqube-spellcheck/pulls/24","id":46197757,"html_url":"https://github.com/webdizz/sonarqube-spellcheck/pull/24","diff_url":"https://github.com/webdizz/sonarqube-spellcheck/pull/24.diff","patch_url":"https://github.com/webdizz/sonarqube-spellcheck/pull/24.patch","issue_url":"https://api.github.com/repos/webdizz/sonarqube-spellcheck/issues/24","number":24,"state":"open","locked":false,"title":"Change algorithm that breaks java source code into separate words.","user":{"login":"andriimatsokha","id":13458330,"avatar_url":"https://avatars.githubusercontent.com/u/13458330?v=3","gravatar_id":"","url":"https://api.github.com/users/andriimatsokha","html_url":"https://github.com/andriimatsokha","followers_url":"https://api.github.com/users/andriimatsokha/followers","following_url":"https://api.github.com/users/andriimatsokha/following{/other_user}","gists_url":"https://api.github.com/users/andriimatsokha/gists{/gist_id}","starred_url":"https://api.github.com/users/andriimatsokha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andriimatsokha/subscriptions","organizations_url":"https://api.github.com/users/andriimatsokha/orgs","repos_url":"https://api.github.com/users/andriimatsokha/repos","events_url":"https://api.github.com/users/andriimatsokha/events{/privacy}","received_events_url":"https://api.github.com/users/andriimatsokha/received_events","type":"User","site_admin":false},"body":"Algorithm that breaks java source code into words is based on finite state machine. It breaks words accordingly to Java Code Convention.\r\nRemove unused class SpellCheckerUtil.","created_at":"2015-09-28T19:30:47Z","updated_at":"2015-09-28T22:52:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/webdizz/sonarqube-spellcheck/pulls/24/commits","review_comments_url":"https://api.github.com/repos/webdizz/sonarqube-spellcheck/pulls/24/comments","review_comment_url":"https://api.github.com/repos/webdizz/sonarqube-spellcheck/pulls/comments{/number}","comments_url":"https://api.github.com/repos/webdizz/sonarqube-spellcheck/issues/24/comments","statuses_url":"https://api.github.com/repos/webdizz/sonarqube-spellcheck/statuses/f357e6741c271161b810f95ba53554714de7ca51","head":{"label":"andriimatsokha:master","ref":"master","sha":"f357e6741c271161b810f95ba53554714de7ca51","user":{"login":"andriimatsokha","id":13458330,"avatar_url":"https://avatars.githubusercontent.com/u/13458330?v=3","gravatar_id":"","url":"https://api.github.com/users/andriimatsokha","html_url":"https://github.com/andriimatsokha","followers_url":"https://api.github.com/users/andriimatsokha/followers","following_url":"https://api.github.com/users/andriimatsokha/following{/other_user}","gists_url":"https://api.github.com/users/andriimatsokha/gists{/gist_id}","starred_url":"https://api.github.com/users/andriimatsokha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andriimatsokha/subscriptions","organizations_url":"https://api.github.com/users/andriimatsokha/orgs","repos_url":"https://api.github.com/users/andriimatsokha/repos","events_url":"https://api.github.com/users/andriimatsokha/events{/privacy}","received_events_url":"https://api.github.com/users/andriimatsokha/received_events","type":"User","site_admin":false},"repo":{"id":43068099,"name":"sonarqube-spellcheck","full_name":"andriimatsokha/sonarqube-spellcheck","owner":{"login":"andriimatsokha","id":13458330,"avatar_url":"https://avatars.githubusercontent.com/u/13458330?v=3","gravatar_id":"","url":"https://api.github.com/users/andriimatsokha","html_url":"https://github.com/andriimatsokha","followers_url":"https://api.github.com/users/andriimatsokha/followers","following_url":"https://api.github.com/users/andriimatsokha/following{/other_user}","gists_url":"https://api.github.com/users/andriimatsokha/gists{/gist_id}","starred_url":"https://api.github.com/users/andriimatsokha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andriimatsokha/subscriptions","organizations_url":"https://api.github.com/users/andriimatsokha/orgs","repos_url":"https://api.github.com/users/andriimatsokha/repos","events_url":"https://api.github.com/users/andriimatsokha/events{/privacy}","received_events_url":"https://api.github.com/users/andriimatsokha/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andriimatsokha/sonarqube-spellcheck","description":"SonarQube SpellCheck Plugin to provide spell checking of source code ","fork":true,"url":"https://api.github.com/repos/andriimatsokha/sonarqube-spellcheck","forks_url":"https://api.github.com/repos/andriimatsokha/sonarqube-spellcheck/forks","keys_url":"https://api.github.com/repos/andriimatsokha/sonarqube-spellcheck/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andriimatsokha/sonarqube-spellcheck/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andriimatsokha/sonarqube-spellcheck/teams","hooks_url":"https://api.github.com/repos/andriimatsokha/sonarqube-spellcheck/hooks","issue_events_url":"https://api.github.com/repos/andriimatsokha/sonarqube-spellcheck/issues/events{/number}","events_url":"https://api.github.com/repos/andriimatsokha/sonarqube-spellcheck/events","assignees_url":"https://api.github.com/repos/andriimatsokha/sonarqube-spellcheck/assignees{/user}","branches_url":"https://api.github.com/repos/andriimatsokha/sonarqube-spellcheck/branches{/branch}","tags_url":"https://api.github.com/repos/andriimatsokha/sonarqube-spellcheck/tags","blobs_url":"https://api.github.com/repos/andriimatsokha/sonarqube-spellcheck/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andriimatsokha/sonarqube-spellcheck/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andriimatsokha/sonarqube-spellcheck/git/refs{/sha}","trees_url":"https://api.github.com/repos/andriimatsokha/sonarqube-spellcheck/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andriimatsokha/sonarqube-spellcheck/statuses/{sha}","languages_url":"https://api.github.com/repos/andriimatsokha/sonarqube-spellcheck/languages","stargazers_url":"https://api.github.com/repos/andriimatsokha/sonarqube-spellcheck/stargazers","contributors_url":"https://api.github.com/repos/andriimatsokha/sonarqube-spellcheck/contributors","subscribers_url":"https://api.github.com/repos/andriimatsokha/sonarqube-spellcheck/subscribers","subscription_url":"https://api.github.com/repos/andriimatsokha/sonarqube-spellcheck/subscription","commits_url":"https://api.github.com/repos/andriimatsokha/sonarqube-spellcheck/commits{/sha}","git_commits_url":"https://api.github.com/repos/andriimatsokha/sonarqube-spellcheck/git/commits{/sha}","comments_url":"https://api.github.com/repos/andriimatsokha/sonarqube-spellcheck/comments{/number}","issue_comment_url":"https://api.github.com/repos/andriimatsokha/sonarqube-spellcheck/issues/comments{/number}","contents_url":"https://api.github.com/repos/andriimatsokha/sonarqube-spellcheck/contents/{+path}","compare_url":"https://api.github.com/repos/andriimatsokha/sonarqube-spellcheck/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andriimatsokha/sonarqube-spellcheck/merges","archive_url":"https://api.github.com/repos/andriimatsokha/sonarqube-spellcheck/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andriimatsokha/sonarqube-spellcheck/downloads","issues_url":"https://api.github.com/repos/andriimatsokha/sonarqube-spellcheck/issues{/number}","pulls_url":"https://api.github.com/repos/andriimatsokha/sonarqube-spellcheck/pulls{/number}","milestones_url":"https://api.github.com/repos/andriimatsokha/sonarqube-spellcheck/milestones{/number}","notifications_url":"https://api.github.com/repos/andriimatsokha/sonarqube-spellcheck/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andriimatsokha/sonarqube-spellcheck/labels{/name}","releases_url":"https://api.github.com/repos/andriimatsokha/sonarqube-spellcheck/releases{/id}","created_at":"2015-09-24T13:21:16Z","updated_at":"2015-09-24T13:21:17Z","pushed_at":"2015-09-28T19:08:39Z","git_url":"git://github.com/andriimatsokha/sonarqube-spellcheck.git","ssh_url":"git@github.com:andriimatsokha/sonarqube-spellcheck.git","clone_url":"https://github.com/andriimatsokha/sonarqube-spellcheck.git","svn_url":"https://github.com/andriimatsokha/sonarqube-spellcheck","homepage":"","size":2421,"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":"webdizz:master","ref":"master","sha":"e1bf9fda4afec3a2617d6185980e2de5448f4f99","user":{"login":"webdizz","id":35662,"avatar_url":"https://avatars.githubusercontent.com/u/35662?v=3","gravatar_id":"","url":"https://api.github.com/users/webdizz","html_url":"https://github.com/webdizz","followers_url":"https://api.github.com/users/webdizz/followers","following_url":"https://api.github.com/users/webdizz/following{/other_user}","gists_url":"https://api.github.com/users/webdizz/gists{/gist_id}","starred_url":"https://api.github.com/users/webdizz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webdizz/subscriptions","organizations_url":"https://api.github.com/users/webdizz/orgs","repos_url":"https://api.github.com/users/webdizz/repos","events_url":"https://api.github.com/users/webdizz/events{/privacy}","received_events_url":"https://api.github.com/users/webdizz/received_events","type":"User","site_admin":false},"repo":{"id":12944880,"name":"sonarqube-spellcheck","full_name":"webdizz/sonarqube-spellcheck","owner":{"login":"webdizz","id":35662,"avatar_url":"https://avatars.githubusercontent.com/u/35662?v=3","gravatar_id":"","url":"https://api.github.com/users/webdizz","html_url":"https://github.com/webdizz","followers_url":"https://api.github.com/users/webdizz/followers","following_url":"https://api.github.com/users/webdizz/following{/other_user}","gists_url":"https://api.github.com/users/webdizz/gists{/gist_id}","starred_url":"https://api.github.com/users/webdizz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webdizz/subscriptions","organizations_url":"https://api.github.com/users/webdizz/orgs","repos_url":"https://api.github.com/users/webdizz/repos","events_url":"https://api.github.com/users/webdizz/events{/privacy}","received_events_url":"https://api.github.com/users/webdizz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/webdizz/sonarqube-spellcheck","description":"SonarQube SpellCheck Plugin to provide spell checking of source code ","fork":false,"url":"https://api.github.com/repos/webdizz/sonarqube-spellcheck","forks_url":"https://api.github.com/repos/webdizz/sonarqube-spellcheck/forks","keys_url":"https://api.github.com/repos/webdizz/sonarqube-spellcheck/keys{/key_id}","collaborators_url":"https://api.github.com/repos/webdizz/sonarqube-spellcheck/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/webdizz/sonarqube-spellcheck/teams","hooks_url":"https://api.github.com/repos/webdizz/sonarqube-spellcheck/hooks","issue_events_url":"https://api.github.com/repos/webdizz/sonarqube-spellcheck/issues/events{/number}","events_url":"https://api.github.com/repos/webdizz/sonarqube-spellcheck/events","assignees_url":"https://api.github.com/repos/webdizz/sonarqube-spellcheck/assignees{/user}","branches_url":"https://api.github.com/repos/webdizz/sonarqube-spellcheck/branches{/branch}","tags_url":"https://api.github.com/repos/webdizz/sonarqube-spellcheck/tags","blobs_url":"https://api.github.com/repos/webdizz/sonarqube-spellcheck/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/webdizz/sonarqube-spellcheck/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/webdizz/sonarqube-spellcheck/git/refs{/sha}","trees_url":"https://api.github.com/repos/webdizz/sonarqube-spellcheck/git/trees{/sha}","statuses_url":"https://api.github.com/repos/webdizz/sonarqube-spellcheck/statuses/{sha}","languages_url":"https://api.github.com/repos/webdizz/sonarqube-spellcheck/languages","stargazers_url":"https://api.github.com/repos/webdizz/sonarqube-spellcheck/stargazers","contributors_url":"https://api.github.com/repos/webdizz/sonarqube-spellcheck/contributors","subscribers_url":"https://api.github.com/repos/webdizz/sonarqube-spellcheck/subscribers","subscription_url":"https://api.github.com/repos/webdizz/sonarqube-spellcheck/subscription","commits_url":"https://api.github.com/repos/webdizz/sonarqube-spellcheck/commits{/sha}","git_commits_url":"https://api.github.com/repos/webdizz/sonarqube-spellcheck/git/commits{/sha}","comments_url":"https://api.github.com/repos/webdizz/sonarqube-spellcheck/comments{/number}","issue_comment_url":"https://api.github.com/repos/webdizz/sonarqube-spellcheck/issues/comments{/number}","contents_url":"https://api.github.com/repos/webdizz/sonarqube-spellcheck/contents/{+path}","compare_url":"https://api.github.com/repos/webdizz/sonarqube-spellcheck/compare/{base}...{head}","merges_url":"https://api.github.com/repos/webdizz/sonarqube-spellcheck/merges","archive_url":"https://api.github.com/repos/webdizz/sonarqube-spellcheck/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/webdizz/sonarqube-spellcheck/downloads","issues_url":"https://api.github.com/repos/webdizz/sonarqube-spellcheck/issues{/number}","pulls_url":"https://api.github.com/repos/webdizz/sonarqube-spellcheck/pulls{/number}","milestones_url":"https://api.github.com/repos/webdizz/sonarqube-spellcheck/milestones{/number}","notifications_url":"https://api.github.com/repos/webdizz/sonarqube-spellcheck/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/webdizz/sonarqube-spellcheck/labels{/name}","releases_url":"https://api.github.com/repos/webdizz/sonarqube-spellcheck/releases{/id}","created_at":"2013-09-19T09:18:04Z","updated_at":"2015-09-09T09:48:05Z","pushed_at":"2015-09-28T19:30:47Z","git_url":"git://github.com/webdizz/sonarqube-spellcheck.git","ssh_url":"git@github.com:webdizz/sonarqube-spellcheck.git","clone_url":"https://github.com/webdizz/sonarqube-spellcheck.git","svn_url":"https://github.com/webdizz/sonarqube-spellcheck","homepage":"","size":2720,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":2,"forks":12,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/webdizz/sonarqube-spellcheck/pulls/24"},"html":{"href":"https://github.com/webdizz/sonarqube-spellcheck/pull/24"},"issue":{"href":"https://api.github.com/repos/webdizz/sonarqube-spellcheck/issues/24"},"comments":{"href":"https://api.github.com/repos/webdizz/sonarqube-spellcheck/issues/24/comments"},"review_comments":{"href":"https://api.github.com/repos/webdizz/sonarqube-spellcheck/pulls/24/comments"},"review_comment":{"href":"https://api.github.com/repos/webdizz/sonarqube-spellcheck/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/webdizz/sonarqube-spellcheck/pulls/24/commits"},"statuses":{"href":"https://api.github.com/repos/webdizz/sonarqube-spellcheck/statuses/f357e6741c271161b810f95ba53554714de7ca51"}}}}