{"action":"created","comment":{"url":"https://api.github.com/repos/LeKaitoW/raox/pulls/comments/63028465","id":63028465,"diff_hunk":"@@ -52,40 +52,46 @@ private final void setProbability(String probability) {\n \t\tgetListeners().firePropertyChange(PROPERTY_PROBABILITY, previousValue, probability);\n \t}\n \n-\tprivate final int getFunctionIndex() {\n-\t\treturn getBooleanFunctionsNames().indexOf(functionName);\n+\tprivate final int getConditionIndex() {\n+\t\treturn getBooleanFunctionsNames().indexOf(condition);\n \t}\n \n-\tprivate final void setFunctionIndex(int index) {\n-\t\tString previousValue = this.functionName;\n-\t\tthis.functionName = getBooleanFunctionsNames().get(index);\n-\t\tgetListeners().firePropertyChange(PROPERTY_FUNCION, previousValue, functionName);\n+\tprivate final void setConditionIndex(int index) {\n+\t\tString previousValue = this.condition;\n+\t\tthis.condition = getBooleanFunctionsNames().get(index);\n+\t\tgetListeners().firePropertyChange(PROPERTY_CONDITION, previousValue, condition);\n \t}\n \n-\tprivate final int getConditionIndex() {\n-\t\treturn condition.ordinal();\n+\tprivate final int getModeIndex() {\n+\t\treturn mode.ordinal();","path":"ru.bmstu.rk9.rao.ui/src/ru/bmstu/rk9/rao/ui/process/blocks/selectpath/SelectPathNode.java","position":null,"original_position":49,"commit_id":"02d43501ca2a9d1ca53884912737e03095127399","original_commit_id":"d5489db3b29df42cdc73f7d8395ef8b747edc11b","user":{"login":"LeKaitoW","id":10632455,"avatar_url":"https://avatars.githubusercontent.com/u/10632455?v=3","gravatar_id":"","url":"https://api.github.com/users/LeKaitoW","html_url":"https://github.com/LeKaitoW","followers_url":"https://api.github.com/users/LeKaitoW/followers","following_url":"https://api.github.com/users/LeKaitoW/following{/other_user}","gists_url":"https://api.github.com/users/LeKaitoW/gists{/gist_id}","starred_url":"https://api.github.com/users/LeKaitoW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeKaitoW/subscriptions","organizations_url":"https://api.github.com/users/LeKaitoW/orgs","repos_url":"https://api.github.com/users/LeKaitoW/repos","events_url":"https://api.github.com/users/LeKaitoW/events{/privacy}","received_events_url":"https://api.github.com/users/LeKaitoW/received_events","type":"User","site_admin":false},"body":"Я и сделала по аналогии: https://github.com/LeKaitoW/raox/pull/44/files#diff-356f823707638e90baf21e059f8740d7R139\r\nК каждой проперти геттер/сеттер, везде в сеттерах кастится вобъект.","created_at":"2016-05-12T14:20:15Z","updated_at":"2016-05-12T14:20:15Z","html_url":"https://github.com/LeKaitoW/raox/pull/44#discussion_r63028465","pull_request_url":"https://api.github.com/repos/LeKaitoW/raox/pulls/44","_links":{"self":{"href":"https://api.github.com/repos/LeKaitoW/raox/pulls/comments/63028465"},"html":{"href":"https://github.com/LeKaitoW/raox/pull/44#discussion_r63028465"},"pull_request":{"href":"https://api.github.com/repos/LeKaitoW/raox/pulls/44"}}},"pull_request":{"url":"https://api.github.com/repos/LeKaitoW/raox/pulls/44","id":69131810,"html_url":"https://github.com/LeKaitoW/raox/pull/44","diff_url":"https://github.com/LeKaitoW/raox/pull/44.diff","patch_url":"https://github.com/LeKaitoW/raox/pull/44.patch","issue_url":"https://api.github.com/repos/LeKaitoW/raox/issues/44","number":44,"state":"open","locked":false,"title":"select path function","user":{"login":"LeKaitoW","id":10632455,"avatar_url":"https://avatars.githubusercontent.com/u/10632455?v=3","gravatar_id":"","url":"https://api.github.com/users/LeKaitoW","html_url":"https://github.com/LeKaitoW","followers_url":"https://api.github.com/users/LeKaitoW/followers","following_url":"https://api.github.com/users/LeKaitoW/following{/other_user}","gists_url":"https://api.github.com/users/LeKaitoW/gists{/gist_id}","starred_url":"https://api.github.com/users/LeKaitoW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeKaitoW/subscriptions","organizations_url":"https://api.github.com/users/LeKaitoW/orgs","repos_url":"https://api.github.com/users/LeKaitoW/repos","events_url":"https://api.github.com/users/LeKaitoW/events{/privacy}","received_events_url":"https://api.github.com/users/LeKaitoW/received_events","type":"User","site_admin":false},"body":"aurusov/raox#329","created_at":"2016-05-06T10:24:21Z","updated_at":"2016-05-12T14:20:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b8e65a00ee295ca93d558dfb563a19c1e830e186","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/LeKaitoW/raox/pulls/44/commits","review_comments_url":"https://api.github.com/repos/LeKaitoW/raox/pulls/44/comments","review_comment_url":"https://api.github.com/repos/LeKaitoW/raox/pulls/comments{/number}","comments_url":"https://api.github.com/repos/LeKaitoW/raox/issues/44/comments","statuses_url":"https://api.github.com/repos/LeKaitoW/raox/statuses/02d43501ca2a9d1ca53884912737e03095127399","head":{"label":"LeKaitoW:feature/select_path_function","ref":"feature/select_path_function","sha":"02d43501ca2a9d1ca53884912737e03095127399","user":{"login":"LeKaitoW","id":10632455,"avatar_url":"https://avatars.githubusercontent.com/u/10632455?v=3","gravatar_id":"","url":"https://api.github.com/users/LeKaitoW","html_url":"https://github.com/LeKaitoW","followers_url":"https://api.github.com/users/LeKaitoW/followers","following_url":"https://api.github.com/users/LeKaitoW/following{/other_user}","gists_url":"https://api.github.com/users/LeKaitoW/gists{/gist_id}","starred_url":"https://api.github.com/users/LeKaitoW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeKaitoW/subscriptions","organizations_url":"https://api.github.com/users/LeKaitoW/orgs","repos_url":"https://api.github.com/users/LeKaitoW/repos","events_url":"https://api.github.com/users/LeKaitoW/events{/privacy}","received_events_url":"https://api.github.com/users/LeKaitoW/received_events","type":"User","site_admin":false},"repo":{"id":29748527,"name":"raox","full_name":"LeKaitoW/raox","owner":{"login":"LeKaitoW","id":10632455,"avatar_url":"https://avatars.githubusercontent.com/u/10632455?v=3","gravatar_id":"","url":"https://api.github.com/users/LeKaitoW","html_url":"https://github.com/LeKaitoW","followers_url":"https://api.github.com/users/LeKaitoW/followers","following_url":"https://api.github.com/users/LeKaitoW/following{/other_user}","gists_url":"https://api.github.com/users/LeKaitoW/gists{/gist_id}","starred_url":"https://api.github.com/users/LeKaitoW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeKaitoW/subscriptions","organizations_url":"https://api.github.com/users/LeKaitoW/orgs","repos_url":"https://api.github.com/users/LeKaitoW/repos","events_url":"https://api.github.com/users/LeKaitoW/events{/privacy}","received_events_url":"https://api.github.com/users/LeKaitoW/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/LeKaitoW/raox","description":"RDO modelling language written in Xtext","fork":true,"url":"https://api.github.com/repos/LeKaitoW/raox","forks_url":"https://api.github.com/repos/LeKaitoW/raox/forks","keys_url":"https://api.github.com/repos/LeKaitoW/raox/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LeKaitoW/raox/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LeKaitoW/raox/teams","hooks_url":"https://api.github.com/repos/LeKaitoW/raox/hooks","issue_events_url":"https://api.github.com/repos/LeKaitoW/raox/issues/events{/number}","events_url":"https://api.github.com/repos/LeKaitoW/raox/events","assignees_url":"https://api.github.com/repos/LeKaitoW/raox/assignees{/user}","branches_url":"https://api.github.com/repos/LeKaitoW/raox/branches{/branch}","tags_url":"https://api.github.com/repos/LeKaitoW/raox/tags","blobs_url":"https://api.github.com/repos/LeKaitoW/raox/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LeKaitoW/raox/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LeKaitoW/raox/git/refs{/sha}","trees_url":"https://api.github.com/repos/LeKaitoW/raox/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LeKaitoW/raox/statuses/{sha}","languages_url":"https://api.github.com/repos/LeKaitoW/raox/languages","stargazers_url":"https://api.github.com/repos/LeKaitoW/raox/stargazers","contributors_url":"https://api.github.com/repos/LeKaitoW/raox/contributors","subscribers_url":"https://api.github.com/repos/LeKaitoW/raox/subscribers","subscription_url":"https://api.github.com/repos/LeKaitoW/raox/subscription","commits_url":"https://api.github.com/repos/LeKaitoW/raox/commits{/sha}","git_commits_url":"https://api.github.com/repos/LeKaitoW/raox/git/commits{/sha}","comments_url":"https://api.github.com/repos/LeKaitoW/raox/comments{/number}","issue_comment_url":"https://api.github.com/repos/LeKaitoW/raox/issues/comments{/number}","contents_url":"https://api.github.com/repos/LeKaitoW/raox/contents/{+path}","compare_url":"https://api.github.com/repos/LeKaitoW/raox/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LeKaitoW/raox/merges","archive_url":"https://api.github.com/repos/LeKaitoW/raox/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LeKaitoW/raox/downloads","issues_url":"https://api.github.com/repos/LeKaitoW/raox/issues{/number}","pulls_url":"https://api.github.com/repos/LeKaitoW/raox/pulls{/number}","milestones_url":"https://api.github.com/repos/LeKaitoW/raox/milestones{/number}","notifications_url":"https://api.github.com/repos/LeKaitoW/raox/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LeKaitoW/raox/labels{/name}","releases_url":"https://api.github.com/repos/LeKaitoW/raox/releases{/id}","deployments_url":"https://api.github.com/repos/LeKaitoW/raox/deployments","created_at":"2015-01-23T19:14:30Z","updated_at":"2016-02-14T09:18:41Z","pushed_at":"2016-05-12T11:11:08Z","git_url":"git://github.com/LeKaitoW/raox.git","ssh_url":"git@github.com:LeKaitoW/raox.git","clone_url":"https://github.com/LeKaitoW/raox.git","svn_url":"https://github.com/LeKaitoW/raox","homepage":"","size":11378,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"feature/graphic_process"}},"base":{"label":"LeKaitoW:feature/graphic_process","ref":"feature/graphic_process","sha":"676d08a758dd016c27c2bfe63ec7e0615df1fe17","user":{"login":"LeKaitoW","id":10632455,"avatar_url":"https://avatars.githubusercontent.com/u/10632455?v=3","gravatar_id":"","url":"https://api.github.com/users/LeKaitoW","html_url":"https://github.com/LeKaitoW","followers_url":"https://api.github.com/users/LeKaitoW/followers","following_url":"https://api.github.com/users/LeKaitoW/following{/other_user}","gists_url":"https://api.github.com/users/LeKaitoW/gists{/gist_id}","starred_url":"https://api.github.com/users/LeKaitoW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeKaitoW/subscriptions","organizations_url":"https://api.github.com/users/LeKaitoW/orgs","repos_url":"https://api.github.com/users/LeKaitoW/repos","events_url":"https://api.github.com/users/LeKaitoW/events{/privacy}","received_events_url":"https://api.github.com/users/LeKaitoW/received_events","type":"User","site_admin":false},"repo":{"id":29748527,"name":"raox","full_name":"LeKaitoW/raox","owner":{"login":"LeKaitoW","id":10632455,"avatar_url":"https://avatars.githubusercontent.com/u/10632455?v=3","gravatar_id":"","url":"https://api.github.com/users/LeKaitoW","html_url":"https://github.com/LeKaitoW","followers_url":"https://api.github.com/users/LeKaitoW/followers","following_url":"https://api.github.com/users/LeKaitoW/following{/other_user}","gists_url":"https://api.github.com/users/LeKaitoW/gists{/gist_id}","starred_url":"https://api.github.com/users/LeKaitoW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeKaitoW/subscriptions","organizations_url":"https://api.github.com/users/LeKaitoW/orgs","repos_url":"https://api.github.com/users/LeKaitoW/repos","events_url":"https://api.github.com/users/LeKaitoW/events{/privacy}","received_events_url":"https://api.github.com/users/LeKaitoW/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/LeKaitoW/raox","description":"RDO modelling language written in Xtext","fork":true,"url":"https://api.github.com/repos/LeKaitoW/raox","forks_url":"https://api.github.com/repos/LeKaitoW/raox/forks","keys_url":"https://api.github.com/repos/LeKaitoW/raox/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LeKaitoW/raox/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LeKaitoW/raox/teams","hooks_url":"https://api.github.com/repos/LeKaitoW/raox/hooks","issue_events_url":"https://api.github.com/repos/LeKaitoW/raox/issues/events{/number}","events_url":"https://api.github.com/repos/LeKaitoW/raox/events","assignees_url":"https://api.github.com/repos/LeKaitoW/raox/assignees{/user}","branches_url":"https://api.github.com/repos/LeKaitoW/raox/branches{/branch}","tags_url":"https://api.github.com/repos/LeKaitoW/raox/tags","blobs_url":"https://api.github.com/repos/LeKaitoW/raox/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LeKaitoW/raox/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LeKaitoW/raox/git/refs{/sha}","trees_url":"https://api.github.com/repos/LeKaitoW/raox/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LeKaitoW/raox/statuses/{sha}","languages_url":"https://api.github.com/repos/LeKaitoW/raox/languages","stargazers_url":"https://api.github.com/repos/LeKaitoW/raox/stargazers","contributors_url":"https://api.github.com/repos/LeKaitoW/raox/contributors","subscribers_url":"https://api.github.com/repos/LeKaitoW/raox/subscribers","subscription_url":"https://api.github.com/repos/LeKaitoW/raox/subscription","commits_url":"https://api.github.com/repos/LeKaitoW/raox/commits{/sha}","git_commits_url":"https://api.github.com/repos/LeKaitoW/raox/git/commits{/sha}","comments_url":"https://api.github.com/repos/LeKaitoW/raox/comments{/number}","issue_comment_url":"https://api.github.com/repos/LeKaitoW/raox/issues/comments{/number}","contents_url":"https://api.github.com/repos/LeKaitoW/raox/contents/{+path}","compare_url":"https://api.github.com/repos/LeKaitoW/raox/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LeKaitoW/raox/merges","archive_url":"https://api.github.com/repos/LeKaitoW/raox/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LeKaitoW/raox/downloads","issues_url":"https://api.github.com/repos/LeKaitoW/raox/issues{/number}","pulls_url":"https://api.github.com/repos/LeKaitoW/raox/pulls{/number}","milestones_url":"https://api.github.com/repos/LeKaitoW/raox/milestones{/number}","notifications_url":"https://api.github.com/repos/LeKaitoW/raox/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LeKaitoW/raox/labels{/name}","releases_url":"https://api.github.com/repos/LeKaitoW/raox/releases{/id}","deployments_url":"https://api.github.com/repos/LeKaitoW/raox/deployments","created_at":"2015-01-23T19:14:30Z","updated_at":"2016-02-14T09:18:41Z","pushed_at":"2016-05-12T11:11:08Z","git_url":"git://github.com/LeKaitoW/raox.git","ssh_url":"git@github.com:LeKaitoW/raox.git","clone_url":"https://github.com/LeKaitoW/raox.git","svn_url":"https://github.com/LeKaitoW/raox","homepage":"","size":11378,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"feature/graphic_process"}},"_links":{"self":{"href":"https://api.github.com/repos/LeKaitoW/raox/pulls/44"},"html":{"href":"https://github.com/LeKaitoW/raox/pull/44"},"issue":{"href":"https://api.github.com/repos/LeKaitoW/raox/issues/44"},"comments":{"href":"https://api.github.com/repos/LeKaitoW/raox/issues/44/comments"},"review_comments":{"href":"https://api.github.com/repos/LeKaitoW/raox/pulls/44/comments"},"review_comment":{"href":"https://api.github.com/repos/LeKaitoW/raox/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/LeKaitoW/raox/pulls/44/commits"},"statuses":{"href":"https://api.github.com/repos/LeKaitoW/raox/statuses/02d43501ca2a9d1ca53884912737e03095127399"}}}}