{"action":"created","comment":{"url":"https://api.github.com/repos/tcckn/dev_training/pulls/comments/224308766","pull_request_review_id":163642561,"id":224308766,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNDMwODc2Ng==","diff_hunk":"@@ -0,0 +1,118 @@\n+package com.dev_training.controller;\n+\n+import com.dev_training.entity.Account;\n+import com.dev_training.form.AccountUpdateForm;\n+import com.dev_training.service.AccountUpdateService;\n+import org.springframework.beans.factory.annotation.Autowired;\n+import org.springframework.stereotype.Controller;\n+import org.springframework.ui.Model;\n+import org.springframework.validation.BindingResult;\n+import org.springframework.validation.annotation.Validated;\n+import org.springframework.web.bind.annotation.RequestMapping;\n+import org.springframework.web.bind.annotation.RequestMethod;\n+\n+import javax.servlet.http.HttpSession;\n+\n+\n+/**\n+ * アカウント情報更新コントローラ。\n+ */\n+@Controller\n+@RequestMapping(value = \"/account/update\")\n+public class AccountUpdateController {\n+\n+    /** アカウント情報更新サービス */\n+    private final AccountUpdateService service;\n+\n+    @Autowired\n+    public AccountUpdateController(AccountUpdateService accountUpdateService, HttpSession session) {\n+        this.service = accountUpdateService;\n+        this.session = session;\n+    }\n+\n+    private final HttpSession session;\n+    private static final String SESSION_FORM_ID = \"account\";\n+\n+    /**\n+     * アカウント情報更新-初期表示。\n+     *\n+     * @param model     モデル\n+     * @param model     モデル\n+     * @return Path\n+     */\n+    @RequestMapping(value = \"/init\")\n+    String updateInit( Model model) {","path":"src/main/java/com/dev_training/controller/AccountUpdateController.java","position":44,"original_position":44,"commit_id":"cb511f03bc72d77e81e3dbb6dbdc4ca7f2530387","original_commit_id":"cb511f03bc72d77e81e3dbb6dbdc4ca7f2530387","user":{"login":"thikethike","id":43123622,"node_id":"MDQ6VXNlcjQzMTIzNjIy","avatar_url":"https://avatars0.githubusercontent.com/u/43123622?v=4","gravatar_id":"","url":"https://api.github.com/users/thikethike","html_url":"https://github.com/thikethike","followers_url":"https://api.github.com/users/thikethike/followers","following_url":"https://api.github.com/users/thikethike/following{/other_user}","gists_url":"https://api.github.com/users/thikethike/gists{/gist_id}","starred_url":"https://api.github.com/users/thikethike/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thikethike/subscriptions","organizations_url":"https://api.github.com/users/thikethike/orgs","repos_url":"https://api.github.com/users/thikethike/repos","events_url":"https://api.github.com/users/thikethike/events{/privacy}","received_events_url":"https://api.github.com/users/thikethike/received_events","type":"User","site_admin":false},"body":"( Model\r\n無駄な半角スペース。体裁の指摘をなくしてください。","created_at":"2018-10-11T04:04:33Z","updated_at":"2018-10-11T04:04:33Z","html_url":"https://github.com/tcckn/dev_training/pull/8#discussion_r224308766","pull_request_url":"https://api.github.com/repos/tcckn/dev_training/pulls/8","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/tcckn/dev_training/pulls/comments/224308766"},"html":{"href":"https://github.com/tcckn/dev_training/pull/8#discussion_r224308766"},"pull_request":{"href":"https://api.github.com/repos/tcckn/dev_training/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/tcckn/dev_training/pulls/8","id":221644262,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIxNjQ0MjYy","html_url":"https://github.com/tcckn/dev_training/pull/8","diff_url":"https://github.com/tcckn/dev_training/pull/8.diff","patch_url":"https://github.com/tcckn/dev_training/pull/8.patch","issue_url":"https://api.github.com/repos/tcckn/dev_training/issues/8","number":8,"state":"open","locked":false,"title":"Feature update","user":{"login":"tcckn","id":43261220,"node_id":"MDQ6VXNlcjQzMjYxMjIw","avatar_url":"https://avatars1.githubusercontent.com/u/43261220?v=4","gravatar_id":"","url":"https://api.github.com/users/tcckn","html_url":"https://github.com/tcckn","followers_url":"https://api.github.com/users/tcckn/followers","following_url":"https://api.github.com/users/tcckn/following{/other_user}","gists_url":"https://api.github.com/users/tcckn/gists{/gist_id}","starred_url":"https://api.github.com/users/tcckn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tcckn/subscriptions","organizations_url":"https://api.github.com/users/tcckn/orgs","repos_url":"https://api.github.com/users/tcckn/repos","events_url":"https://api.github.com/users/tcckn/events{/privacy}","received_events_url":"https://api.github.com/users/tcckn/received_events","type":"User","site_admin":false},"body":"更新機能のレビューをお願いいたします。","created_at":"2018-10-10T02:56:47Z","updated_at":"2018-10-11T04:04:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9e7cc70ff6a7efb67886f39e43f6af15fcfe596a","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/tcckn/dev_training/pulls/8/commits","review_comments_url":"https://api.github.com/repos/tcckn/dev_training/pulls/8/comments","review_comment_url":"https://api.github.com/repos/tcckn/dev_training/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tcckn/dev_training/issues/8/comments","statuses_url":"https://api.github.com/repos/tcckn/dev_training/statuses/cb511f03bc72d77e81e3dbb6dbdc4ca7f2530387","head":{"label":"tcckn:feature_update","ref":"feature_update","sha":"cb511f03bc72d77e81e3dbb6dbdc4ca7f2530387","user":{"login":"tcckn","id":43261220,"node_id":"MDQ6VXNlcjQzMjYxMjIw","avatar_url":"https://avatars1.githubusercontent.com/u/43261220?v=4","gravatar_id":"","url":"https://api.github.com/users/tcckn","html_url":"https://github.com/tcckn","followers_url":"https://api.github.com/users/tcckn/followers","following_url":"https://api.github.com/users/tcckn/following{/other_user}","gists_url":"https://api.github.com/users/tcckn/gists{/gist_id}","starred_url":"https://api.github.com/users/tcckn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tcckn/subscriptions","organizations_url":"https://api.github.com/users/tcckn/orgs","repos_url":"https://api.github.com/users/tcckn/repos","events_url":"https://api.github.com/users/tcckn/events{/privacy}","received_events_url":"https://api.github.com/users/tcckn/received_events","type":"User","site_admin":false},"repo":{"id":149706092,"node_id":"MDEwOlJlcG9zaXRvcnkxNDk3MDYwOTI=","name":"dev_training","full_name":"tcckn/dev_training","private":false,"owner":{"login":"tcckn","id":43261220,"node_id":"MDQ6VXNlcjQzMjYxMjIw","avatar_url":"https://avatars1.githubusercontent.com/u/43261220?v=4","gravatar_id":"","url":"https://api.github.com/users/tcckn","html_url":"https://github.com/tcckn","followers_url":"https://api.github.com/users/tcckn/followers","following_url":"https://api.github.com/users/tcckn/following{/other_user}","gists_url":"https://api.github.com/users/tcckn/gists{/gist_id}","starred_url":"https://api.github.com/users/tcckn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tcckn/subscriptions","organizations_url":"https://api.github.com/users/tcckn/orgs","repos_url":"https://api.github.com/users/tcckn/repos","events_url":"https://api.github.com/users/tcckn/events{/privacy}","received_events_url":"https://api.github.com/users/tcckn/received_events","type":"User","site_admin":false},"html_url":"https://github.com/tcckn/dev_training","description":"java training project","fork":false,"url":"https://api.github.com/repos/tcckn/dev_training","forks_url":"https://api.github.com/repos/tcckn/dev_training/forks","keys_url":"https://api.github.com/repos/tcckn/dev_training/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tcckn/dev_training/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tcckn/dev_training/teams","hooks_url":"https://api.github.com/repos/tcckn/dev_training/hooks","issue_events_url":"https://api.github.com/repos/tcckn/dev_training/issues/events{/number}","events_url":"https://api.github.com/repos/tcckn/dev_training/events","assignees_url":"https://api.github.com/repos/tcckn/dev_training/assignees{/user}","branches_url":"https://api.github.com/repos/tcckn/dev_training/branches{/branch}","tags_url":"https://api.github.com/repos/tcckn/dev_training/tags","blobs_url":"https://api.github.com/repos/tcckn/dev_training/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tcckn/dev_training/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tcckn/dev_training/git/refs{/sha}","trees_url":"https://api.github.com/repos/tcckn/dev_training/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tcckn/dev_training/statuses/{sha}","languages_url":"https://api.github.com/repos/tcckn/dev_training/languages","stargazers_url":"https://api.github.com/repos/tcckn/dev_training/stargazers","contributors_url":"https://api.github.com/repos/tcckn/dev_training/contributors","subscribers_url":"https://api.github.com/repos/tcckn/dev_training/subscribers","subscription_url":"https://api.github.com/repos/tcckn/dev_training/subscription","commits_url":"https://api.github.com/repos/tcckn/dev_training/commits{/sha}","git_commits_url":"https://api.github.com/repos/tcckn/dev_training/git/commits{/sha}","comments_url":"https://api.github.com/repos/tcckn/dev_training/comments{/number}","issue_comment_url":"https://api.github.com/repos/tcckn/dev_training/issues/comments{/number}","contents_url":"https://api.github.com/repos/tcckn/dev_training/contents/{+path}","compare_url":"https://api.github.com/repos/tcckn/dev_training/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tcckn/dev_training/merges","archive_url":"https://api.github.com/repos/tcckn/dev_training/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tcckn/dev_training/downloads","issues_url":"https://api.github.com/repos/tcckn/dev_training/issues{/number}","pulls_url":"https://api.github.com/repos/tcckn/dev_training/pulls{/number}","milestones_url":"https://api.github.com/repos/tcckn/dev_training/milestones{/number}","notifications_url":"https://api.github.com/repos/tcckn/dev_training/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tcckn/dev_training/labels{/name}","releases_url":"https://api.github.com/repos/tcckn/dev_training/releases{/id}","deployments_url":"https://api.github.com/repos/tcckn/dev_training/deployments","created_at":"2018-09-21T03:41:43Z","updated_at":"2018-10-05T11:30:52Z","pushed_at":"2018-10-10T10:38:29Z","git_url":"git://github.com/tcckn/dev_training.git","ssh_url":"git@github.com:tcckn/dev_training.git","clone_url":"https://github.com/tcckn/dev_training.git","svn_url":"https://github.com/tcckn/dev_training","homepage":null,"size":345,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"tcckn:master","ref":"master","sha":"777b3f479c7c2d178921ed8f1fab16bfbdf2c8c8","user":{"login":"tcckn","id":43261220,"node_id":"MDQ6VXNlcjQzMjYxMjIw","avatar_url":"https://avatars1.githubusercontent.com/u/43261220?v=4","gravatar_id":"","url":"https://api.github.com/users/tcckn","html_url":"https://github.com/tcckn","followers_url":"https://api.github.com/users/tcckn/followers","following_url":"https://api.github.com/users/tcckn/following{/other_user}","gists_url":"https://api.github.com/users/tcckn/gists{/gist_id}","starred_url":"https://api.github.com/users/tcckn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tcckn/subscriptions","organizations_url":"https://api.github.com/users/tcckn/orgs","repos_url":"https://api.github.com/users/tcckn/repos","events_url":"https://api.github.com/users/tcckn/events{/privacy}","received_events_url":"https://api.github.com/users/tcckn/received_events","type":"User","site_admin":false},"repo":{"id":149706092,"node_id":"MDEwOlJlcG9zaXRvcnkxNDk3MDYwOTI=","name":"dev_training","full_name":"tcckn/dev_training","private":false,"owner":{"login":"tcckn","id":43261220,"node_id":"MDQ6VXNlcjQzMjYxMjIw","avatar_url":"https://avatars1.githubusercontent.com/u/43261220?v=4","gravatar_id":"","url":"https://api.github.com/users/tcckn","html_url":"https://github.com/tcckn","followers_url":"https://api.github.com/users/tcckn/followers","following_url":"https://api.github.com/users/tcckn/following{/other_user}","gists_url":"https://api.github.com/users/tcckn/gists{/gist_id}","starred_url":"https://api.github.com/users/tcckn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tcckn/subscriptions","organizations_url":"https://api.github.com/users/tcckn/orgs","repos_url":"https://api.github.com/users/tcckn/repos","events_url":"https://api.github.com/users/tcckn/events{/privacy}","received_events_url":"https://api.github.com/users/tcckn/received_events","type":"User","site_admin":false},"html_url":"https://github.com/tcckn/dev_training","description":"java training project","fork":false,"url":"https://api.github.com/repos/tcckn/dev_training","forks_url":"https://api.github.com/repos/tcckn/dev_training/forks","keys_url":"https://api.github.com/repos/tcckn/dev_training/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tcckn/dev_training/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tcckn/dev_training/teams","hooks_url":"https://api.github.com/repos/tcckn/dev_training/hooks","issue_events_url":"https://api.github.com/repos/tcckn/dev_training/issues/events{/number}","events_url":"https://api.github.com/repos/tcckn/dev_training/events","assignees_url":"https://api.github.com/repos/tcckn/dev_training/assignees{/user}","branches_url":"https://api.github.com/repos/tcckn/dev_training/branches{/branch}","tags_url":"https://api.github.com/repos/tcckn/dev_training/tags","blobs_url":"https://api.github.com/repos/tcckn/dev_training/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tcckn/dev_training/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tcckn/dev_training/git/refs{/sha}","trees_url":"https://api.github.com/repos/tcckn/dev_training/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tcckn/dev_training/statuses/{sha}","languages_url":"https://api.github.com/repos/tcckn/dev_training/languages","stargazers_url":"https://api.github.com/repos/tcckn/dev_training/stargazers","contributors_url":"https://api.github.com/repos/tcckn/dev_training/contributors","subscribers_url":"https://api.github.com/repos/tcckn/dev_training/subscribers","subscription_url":"https://api.github.com/repos/tcckn/dev_training/subscription","commits_url":"https://api.github.com/repos/tcckn/dev_training/commits{/sha}","git_commits_url":"https://api.github.com/repos/tcckn/dev_training/git/commits{/sha}","comments_url":"https://api.github.com/repos/tcckn/dev_training/comments{/number}","issue_comment_url":"https://api.github.com/repos/tcckn/dev_training/issues/comments{/number}","contents_url":"https://api.github.com/repos/tcckn/dev_training/contents/{+path}","compare_url":"https://api.github.com/repos/tcckn/dev_training/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tcckn/dev_training/merges","archive_url":"https://api.github.com/repos/tcckn/dev_training/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tcckn/dev_training/downloads","issues_url":"https://api.github.com/repos/tcckn/dev_training/issues{/number}","pulls_url":"https://api.github.com/repos/tcckn/dev_training/pulls{/number}","milestones_url":"https://api.github.com/repos/tcckn/dev_training/milestones{/number}","notifications_url":"https://api.github.com/repos/tcckn/dev_training/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tcckn/dev_training/labels{/name}","releases_url":"https://api.github.com/repos/tcckn/dev_training/releases{/id}","deployments_url":"https://api.github.com/repos/tcckn/dev_training/deployments","created_at":"2018-09-21T03:41:43Z","updated_at":"2018-10-05T11:30:52Z","pushed_at":"2018-10-10T10:38:29Z","git_url":"git://github.com/tcckn/dev_training.git","ssh_url":"git@github.com:tcckn/dev_training.git","clone_url":"https://github.com/tcckn/dev_training.git","svn_url":"https://github.com/tcckn/dev_training","homepage":null,"size":345,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tcckn/dev_training/pulls/8"},"html":{"href":"https://github.com/tcckn/dev_training/pull/8"},"issue":{"href":"https://api.github.com/repos/tcckn/dev_training/issues/8"},"comments":{"href":"https://api.github.com/repos/tcckn/dev_training/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/tcckn/dev_training/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/tcckn/dev_training/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tcckn/dev_training/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/tcckn/dev_training/statuses/cb511f03bc72d77e81e3dbb6dbdc4ca7f2530387"}},"author_association":"OWNER"}}
{"actor":{"display_login":"thikethike"}}