{"action":"created","comment":{"url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/pulls/comments/48456428","id":48456428,"diff_hunk":"@@ -49,19 +75,55 @@ public PercentData getData() {\n     }\n \n     public void setPercentType(final String value) {\n-        if (PercentAccretionFactory.AccretionType.\n-                SIMPLE_PERCENT_SUM.toString().equals(value)) {\n-            operation = PercentAccretionFactory.AccretionType.SIMPLE_PERCENT_SUM;\n+        if (this.operation.toString() != value) {\n+            if (PercentAccretionFactory.AccretionType.\n+                    SIMPLE_PERCENT_SUM.toString().equals(value)) {","path":"code/sabanov-denis/ViewModel/src/main/java/ru/unn/agile/PercentAccretion/viewmodel/PercentAccretionViewModel.java","position":85,"original_position":85,"commit_id":"c98ad2b00030a193466c174d3dc1eea02f9ffc30","original_commit_id":"c98ad2b00030a193466c174d3dc1eea02f9ffc30","user":{"login":"dmitrykazanbaev","id":14615396,"avatar_url":"https://avatars.githubusercontent.com/u/14615396?v=3","gravatar_id":"","url":"https://api.github.com/users/dmitrykazanbaev","html_url":"https://github.com/dmitrykazanbaev","followers_url":"https://api.github.com/users/dmitrykazanbaev/followers","following_url":"https://api.github.com/users/dmitrykazanbaev/following{/other_user}","gists_url":"https://api.github.com/users/dmitrykazanbaev/gists{/gist_id}","starred_url":"https://api.github.com/users/dmitrykazanbaev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmitrykazanbaev/subscriptions","organizations_url":"https://api.github.com/users/dmitrykazanbaev/orgs","repos_url":"https://api.github.com/users/dmitrykazanbaev/repos","events_url":"https://api.github.com/users/dmitrykazanbaev/events{/privacy}","received_events_url":"https://api.github.com/users/dmitrykazanbaev/received_events","type":"User","site_admin":false},"body":"Странно, здесь правильно сравниваешь строки, а выше нет","created_at":"2015-12-27T16:51:28Z","updated_at":"2015-12-27T16:51:28Z","html_url":"https://github.com/UNN-VMK-Software/agile-course-practice/pull/183#discussion_r48456428","pull_request_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/pulls/183","_links":{"self":{"href":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/pulls/comments/48456428"},"html":{"href":"https://github.com/UNN-VMK-Software/agile-course-practice/pull/183#discussion_r48456428"},"pull_request":{"href":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/pulls/183"}}},"pull_request":{"url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/pulls/183","id":54619996,"html_url":"https://github.com/UNN-VMK-Software/agile-course-practice/pull/183","diff_url":"https://github.com/UNN-VMK-Software/agile-course-practice/pull/183.diff","patch_url":"https://github.com/UNN-VMK-Software/agile-course-practice/pull/183.patch","issue_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/issues/183","number":183,"state":"open","locked":false,"title":"Сабанов - Лабораторная работа #3","user":{"login":"Denzzel","id":5393460,"avatar_url":"https://avatars.githubusercontent.com/u/5393460?v=3","gravatar_id":"","url":"https://api.github.com/users/Denzzel","html_url":"https://github.com/Denzzel","followers_url":"https://api.github.com/users/Denzzel/followers","following_url":"https://api.github.com/users/Denzzel/following{/other_user}","gists_url":"https://api.github.com/users/Denzzel/gists{/gist_id}","starred_url":"https://api.github.com/users/Denzzel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Denzzel/subscriptions","organizations_url":"https://api.github.com/users/Denzzel/orgs","repos_url":"https://api.github.com/users/Denzzel/repos","events_url":"https://api.github.com/users/Denzzel/events{/privacy}","received_events_url":"https://api.github.com/users/Denzzel/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-12-27T16:19:26Z","updated_at":"2015-12-27T16:51:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8ad0cfaa0f2afa3ad5d4e7daf1a392eb72f05ae3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/pulls/183/commits","review_comments_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/pulls/183/comments","review_comment_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/pulls/comments{/number}","comments_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/issues/183/comments","statuses_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/statuses/c98ad2b00030a193466c174d3dc1eea02f9ffc30","head":{"label":"Denzzel:lab3-cool-percent-accretion","ref":"lab3-cool-percent-accretion","sha":"c98ad2b00030a193466c174d3dc1eea02f9ffc30","user":{"login":"Denzzel","id":5393460,"avatar_url":"https://avatars.githubusercontent.com/u/5393460?v=3","gravatar_id":"","url":"https://api.github.com/users/Denzzel","html_url":"https://github.com/Denzzel","followers_url":"https://api.github.com/users/Denzzel/followers","following_url":"https://api.github.com/users/Denzzel/following{/other_user}","gists_url":"https://api.github.com/users/Denzzel/gists{/gist_id}","starred_url":"https://api.github.com/users/Denzzel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Denzzel/subscriptions","organizations_url":"https://api.github.com/users/Denzzel/orgs","repos_url":"https://api.github.com/users/Denzzel/repos","events_url":"https://api.github.com/users/Denzzel/events{/privacy}","received_events_url":"https://api.github.com/users/Denzzel/received_events","type":"User","site_admin":false},"repo":{"id":44826016,"name":"agile-course-practice","full_name":"Denzzel/agile-course-practice","owner":{"login":"Denzzel","id":5393460,"avatar_url":"https://avatars.githubusercontent.com/u/5393460?v=3","gravatar_id":"","url":"https://api.github.com/users/Denzzel","html_url":"https://github.com/Denzzel","followers_url":"https://api.github.com/users/Denzzel/followers","following_url":"https://api.github.com/users/Denzzel/following{/other_user}","gists_url":"https://api.github.com/users/Denzzel/gists{/gist_id}","starred_url":"https://api.github.com/users/Denzzel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Denzzel/subscriptions","organizations_url":"https://api.github.com/users/Denzzel/orgs","repos_url":"https://api.github.com/users/Denzzel/repos","events_url":"https://api.github.com/users/Denzzel/events{/privacy}","received_events_url":"https://api.github.com/users/Denzzel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Denzzel/agile-course-practice","description":"Проект-шаблон для выполнения лабораторных работ по курсу Agile Development","fork":true,"url":"https://api.github.com/repos/Denzzel/agile-course-practice","forks_url":"https://api.github.com/repos/Denzzel/agile-course-practice/forks","keys_url":"https://api.github.com/repos/Denzzel/agile-course-practice/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Denzzel/agile-course-practice/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Denzzel/agile-course-practice/teams","hooks_url":"https://api.github.com/repos/Denzzel/agile-course-practice/hooks","issue_events_url":"https://api.github.com/repos/Denzzel/agile-course-practice/issues/events{/number}","events_url":"https://api.github.com/repos/Denzzel/agile-course-practice/events","assignees_url":"https://api.github.com/repos/Denzzel/agile-course-practice/assignees{/user}","branches_url":"https://api.github.com/repos/Denzzel/agile-course-practice/branches{/branch}","tags_url":"https://api.github.com/repos/Denzzel/agile-course-practice/tags","blobs_url":"https://api.github.com/repos/Denzzel/agile-course-practice/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Denzzel/agile-course-practice/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Denzzel/agile-course-practice/git/refs{/sha}","trees_url":"https://api.github.com/repos/Denzzel/agile-course-practice/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Denzzel/agile-course-practice/statuses/{sha}","languages_url":"https://api.github.com/repos/Denzzel/agile-course-practice/languages","stargazers_url":"https://api.github.com/repos/Denzzel/agile-course-practice/stargazers","contributors_url":"https://api.github.com/repos/Denzzel/agile-course-practice/contributors","subscribers_url":"https://api.github.com/repos/Denzzel/agile-course-practice/subscribers","subscription_url":"https://api.github.com/repos/Denzzel/agile-course-practice/subscription","commits_url":"https://api.github.com/repos/Denzzel/agile-course-practice/commits{/sha}","git_commits_url":"https://api.github.com/repos/Denzzel/agile-course-practice/git/commits{/sha}","comments_url":"https://api.github.com/repos/Denzzel/agile-course-practice/comments{/number}","issue_comment_url":"https://api.github.com/repos/Denzzel/agile-course-practice/issues/comments{/number}","contents_url":"https://api.github.com/repos/Denzzel/agile-course-practice/contents/{+path}","compare_url":"https://api.github.com/repos/Denzzel/agile-course-practice/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Denzzel/agile-course-practice/merges","archive_url":"https://api.github.com/repos/Denzzel/agile-course-practice/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Denzzel/agile-course-practice/downloads","issues_url":"https://api.github.com/repos/Denzzel/agile-course-practice/issues{/number}","pulls_url":"https://api.github.com/repos/Denzzel/agile-course-practice/pulls{/number}","milestones_url":"https://api.github.com/repos/Denzzel/agile-course-practice/milestones{/number}","notifications_url":"https://api.github.com/repos/Denzzel/agile-course-practice/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Denzzel/agile-course-practice/labels{/name}","releases_url":"https://api.github.com/repos/Denzzel/agile-course-practice/releases{/id}","created_at":"2015-10-23T16:51:14Z","updated_at":"2015-10-23T16:51:15Z","pushed_at":"2015-12-27T16:31:29Z","git_url":"git://github.com/Denzzel/agile-course-practice.git","ssh_url":"git@github.com:Denzzel/agile-course-practice.git","clone_url":"https://github.com/Denzzel/agile-course-practice.git","svn_url":"https://github.com/Denzzel/agile-course-practice","homepage":"","size":5538,"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":"UNN-VMK-Software:master","ref":"master","sha":"d5dda50fc581daee997aa2b22b53e3fdb8814746","user":{"login":"UNN-VMK-Software","id":5463209,"avatar_url":"https://avatars.githubusercontent.com/u/5463209?v=3","gravatar_id":"","url":"https://api.github.com/users/UNN-VMK-Software","html_url":"https://github.com/UNN-VMK-Software","followers_url":"https://api.github.com/users/UNN-VMK-Software/followers","following_url":"https://api.github.com/users/UNN-VMK-Software/following{/other_user}","gists_url":"https://api.github.com/users/UNN-VMK-Software/gists{/gist_id}","starred_url":"https://api.github.com/users/UNN-VMK-Software/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UNN-VMK-Software/subscriptions","organizations_url":"https://api.github.com/users/UNN-VMK-Software/orgs","repos_url":"https://api.github.com/users/UNN-VMK-Software/repos","events_url":"https://api.github.com/users/UNN-VMK-Software/events{/privacy}","received_events_url":"https://api.github.com/users/UNN-VMK-Software/received_events","type":"Organization","site_admin":false},"repo":{"id":44518750,"name":"agile-course-practice","full_name":"UNN-VMK-Software/agile-course-practice","owner":{"login":"UNN-VMK-Software","id":5463209,"avatar_url":"https://avatars.githubusercontent.com/u/5463209?v=3","gravatar_id":"","url":"https://api.github.com/users/UNN-VMK-Software","html_url":"https://github.com/UNN-VMK-Software","followers_url":"https://api.github.com/users/UNN-VMK-Software/followers","following_url":"https://api.github.com/users/UNN-VMK-Software/following{/other_user}","gists_url":"https://api.github.com/users/UNN-VMK-Software/gists{/gist_id}","starred_url":"https://api.github.com/users/UNN-VMK-Software/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UNN-VMK-Software/subscriptions","organizations_url":"https://api.github.com/users/UNN-VMK-Software/orgs","repos_url":"https://api.github.com/users/UNN-VMK-Software/repos","events_url":"https://api.github.com/users/UNN-VMK-Software/events{/privacy}","received_events_url":"https://api.github.com/users/UNN-VMK-Software/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/UNN-VMK-Software/agile-course-practice","description":"Проект-шаблон для выполнения лабораторных работ по курсу Agile Development","fork":false,"url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice","forks_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/forks","keys_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/keys{/key_id}","collaborators_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/teams","hooks_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/hooks","issue_events_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/issues/events{/number}","events_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/events","assignees_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/assignees{/user}","branches_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/branches{/branch}","tags_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/tags","blobs_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/git/refs{/sha}","trees_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/git/trees{/sha}","statuses_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/statuses/{sha}","languages_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/languages","stargazers_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/stargazers","contributors_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/contributors","subscribers_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/subscribers","subscription_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/subscription","commits_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/commits{/sha}","git_commits_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/git/commits{/sha}","comments_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/comments{/number}","issue_comment_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/issues/comments{/number}","contents_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/contents/{+path}","compare_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/compare/{base}...{head}","merges_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/merges","archive_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/downloads","issues_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/issues{/number}","pulls_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/pulls{/number}","milestones_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/milestones{/number}","notifications_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/labels{/name}","releases_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/releases{/id}","created_at":"2015-10-19T07:42:22Z","updated_at":"2015-10-29T19:46:12Z","pushed_at":"2015-12-27T16:50:00Z","git_url":"git://github.com/UNN-VMK-Software/agile-course-practice.git","ssh_url":"git@github.com:UNN-VMK-Software/agile-course-practice.git","clone_url":"https://github.com/UNN-VMK-Software/agile-course-practice.git","svn_url":"https://github.com/UNN-VMK-Software/agile-course-practice","homepage":"","size":6235,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":46,"mirror_url":null,"open_issues_count":14,"forks":46,"open_issues":14,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/pulls/183"},"html":{"href":"https://github.com/UNN-VMK-Software/agile-course-practice/pull/183"},"issue":{"href":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/issues/183"},"comments":{"href":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/issues/183/comments"},"review_comments":{"href":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/pulls/183/comments"},"review_comment":{"href":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/pulls/183/commits"},"statuses":{"href":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/statuses/c98ad2b00030a193466c174d3dc1eea02f9ffc30"}}}}