{"action":"created","comment":{"url":"https://api.github.com/repos/apache/flink/pulls/comments/30330524","id":30330524,"diff_hunk":"@@ -85,4 +87,14 @@ public String toString() {\n \t\treturn \"Remote Environment (\" + this.host + \":\" + this.port + \" - parallelism = \" +\n \t\t\t\t(getParallelism() == -1 ? \"default\" : getParallelism()) + \") : \" + getIdString();\n \t}\n+\n+\n+\t// needed to call execute on ScalaShellRemoteEnvironment\n+\tpublic int getPort() {\n+\t\treturn(this.port);","path":"flink-java/src/main/java/org/apache/flink/api/java/RemoteEnvironment.java","position":31,"original_position":31,"commit_id":"0b7cdc5fbd3f3271f23e781722edb75d380b3945","original_commit_id":"0b7cdc5fbd3f3271f23e781722edb75d380b3945","user":{"login":"rmetzger","id":89049,"avatar_url":"https://avatars.githubusercontent.com/u/89049?v=3","gravatar_id":"","url":"https://api.github.com/users/rmetzger","html_url":"https://github.com/rmetzger","followers_url":"https://api.github.com/users/rmetzger/followers","following_url":"https://api.github.com/users/rmetzger/following{/other_user}","gists_url":"https://api.github.com/users/rmetzger/gists{/gist_id}","starred_url":"https://api.github.com/users/rmetzger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmetzger/subscriptions","organizations_url":"https://api.github.com/users/rmetzger/orgs","repos_url":"https://api.github.com/users/rmetzger/repos","events_url":"https://api.github.com/users/rmetzger/events{/privacy}","received_events_url":"https://api.github.com/users/rmetzger/received_events","type":"User","site_admin":false},"body":"why are there parentheses around the return value?","created_at":"2015-05-14T15:28:53Z","updated_at":"2015-05-14T15:28:53Z","html_url":"https://github.com/apache/flink/pull/672#discussion_r30330524","pull_request_url":"https://api.github.com/repos/apache/flink/pulls/672","_links":{"self":{"href":"https://api.github.com/repos/apache/flink/pulls/comments/30330524"},"html":{"href":"https://github.com/apache/flink/pull/672#discussion_r30330524"},"pull_request":{"href":"https://api.github.com/repos/apache/flink/pulls/672"}}},"pull_request":{"url":"https://api.github.com/repos/apache/flink/pulls/672","id":35353498,"html_url":"https://github.com/apache/flink/pull/672","diff_url":"https://github.com/apache/flink/pull/672.diff","patch_url":"https://github.com/apache/flink/pull/672.patch","issue_url":"https://api.github.com/repos/apache/flink/issues/672","number":672,"state":"open","locked":false,"title":"[FLINK-1907] Scala shell","user":{"login":"nikste","id":11996097,"avatar_url":"https://avatars.githubusercontent.com/u/11996097?v=3","gravatar_id":"","url":"https://api.github.com/users/nikste","html_url":"https://github.com/nikste","followers_url":"https://api.github.com/users/nikste/followers","following_url":"https://api.github.com/users/nikste/following{/other_user}","gists_url":"https://api.github.com/users/nikste/gists{/gist_id}","starred_url":"https://api.github.com/users/nikste/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikste/subscriptions","organizations_url":"https://api.github.com/users/nikste/orgs","repos_url":"https://api.github.com/users/nikste/repos","events_url":"https://api.github.com/users/nikste/events{/privacy}","received_events_url":"https://api.github.com/users/nikste/received_events","type":"User","site_admin":false},"body":"implementation of Scala Shell, for Scala versions 2.10 and 2.11.\r\nAlso includes change to \"eager\" print()","created_at":"2015-05-13T17:59:01Z","updated_at":"2015-05-14T15:28:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ad3eb713522b19305d96f9a3e7c64f1c1f527c1f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/apache/flink/pulls/672/commits","review_comments_url":"https://api.github.com/repos/apache/flink/pulls/672/comments","review_comment_url":"https://api.github.com/repos/apache/flink/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/flink/issues/672/comments","statuses_url":"https://api.github.com/repos/apache/flink/statuses/0b7cdc5fbd3f3271f23e781722edb75d380b3945","head":{"label":"nikste:Scala_shell","ref":"Scala_shell","sha":"0b7cdc5fbd3f3271f23e781722edb75d380b3945","user":{"login":"nikste","id":11996097,"avatar_url":"https://avatars.githubusercontent.com/u/11996097?v=3","gravatar_id":"","url":"https://api.github.com/users/nikste","html_url":"https://github.com/nikste","followers_url":"https://api.github.com/users/nikste/followers","following_url":"https://api.github.com/users/nikste/following{/other_user}","gists_url":"https://api.github.com/users/nikste/gists{/gist_id}","starred_url":"https://api.github.com/users/nikste/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikste/subscriptions","organizations_url":"https://api.github.com/users/nikste/orgs","repos_url":"https://api.github.com/users/nikste/repos","events_url":"https://api.github.com/users/nikste/events{/privacy}","received_events_url":"https://api.github.com/users/nikste/received_events","type":"User","site_admin":false},"repo":{"id":34124055,"name":"flink","full_name":"nikste/flink","owner":{"login":"nikste","id":11996097,"avatar_url":"https://avatars.githubusercontent.com/u/11996097?v=3","gravatar_id":"","url":"https://api.github.com/users/nikste","html_url":"https://github.com/nikste","followers_url":"https://api.github.com/users/nikste/followers","following_url":"https://api.github.com/users/nikste/following{/other_user}","gists_url":"https://api.github.com/users/nikste/gists{/gist_id}","starred_url":"https://api.github.com/users/nikste/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikste/subscriptions","organizations_url":"https://api.github.com/users/nikste/orgs","repos_url":"https://api.github.com/users/nikste/repos","events_url":"https://api.github.com/users/nikste/events{/privacy}","received_events_url":"https://api.github.com/users/nikste/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nikste/flink","description":"Mirror of Apache Flink","fork":true,"url":"https://api.github.com/repos/nikste/flink","forks_url":"https://api.github.com/repos/nikste/flink/forks","keys_url":"https://api.github.com/repos/nikste/flink/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nikste/flink/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nikste/flink/teams","hooks_url":"https://api.github.com/repos/nikste/flink/hooks","issue_events_url":"https://api.github.com/repos/nikste/flink/issues/events{/number}","events_url":"https://api.github.com/repos/nikste/flink/events","assignees_url":"https://api.github.com/repos/nikste/flink/assignees{/user}","branches_url":"https://api.github.com/repos/nikste/flink/branches{/branch}","tags_url":"https://api.github.com/repos/nikste/flink/tags","blobs_url":"https://api.github.com/repos/nikste/flink/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nikste/flink/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nikste/flink/git/refs{/sha}","trees_url":"https://api.github.com/repos/nikste/flink/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nikste/flink/statuses/{sha}","languages_url":"https://api.github.com/repos/nikste/flink/languages","stargazers_url":"https://api.github.com/repos/nikste/flink/stargazers","contributors_url":"https://api.github.com/repos/nikste/flink/contributors","subscribers_url":"https://api.github.com/repos/nikste/flink/subscribers","subscription_url":"https://api.github.com/repos/nikste/flink/subscription","commits_url":"https://api.github.com/repos/nikste/flink/commits{/sha}","git_commits_url":"https://api.github.com/repos/nikste/flink/git/commits{/sha}","comments_url":"https://api.github.com/repos/nikste/flink/comments{/number}","issue_comment_url":"https://api.github.com/repos/nikste/flink/issues/comments{/number}","contents_url":"https://api.github.com/repos/nikste/flink/contents/{+path}","compare_url":"https://api.github.com/repos/nikste/flink/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nikste/flink/merges","archive_url":"https://api.github.com/repos/nikste/flink/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nikste/flink/downloads","issues_url":"https://api.github.com/repos/nikste/flink/issues{/number}","pulls_url":"https://api.github.com/repos/nikste/flink/pulls{/number}","milestones_url":"https://api.github.com/repos/nikste/flink/milestones{/number}","notifications_url":"https://api.github.com/repos/nikste/flink/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nikste/flink/labels{/name}","releases_url":"https://api.github.com/repos/nikste/flink/releases{/id}","created_at":"2015-04-17T15:24:10Z","updated_at":"2015-05-08T08:49:32Z","pushed_at":"2015-05-14T11:19:49Z","git_url":"git://github.com/nikste/flink.git","ssh_url":"git@github.com:nikste/flink.git","clone_url":"https://github.com/nikste/flink.git","svn_url":"https://github.com/nikste/flink","homepage":null,"size":48138,"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":"48e21a1ae5ac1e762aa670f53ef1a976bacabf8c","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":20587599,"name":"flink","full_name":"apache/flink","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/flink","description":"Mirror of Apache Flink","fork":false,"url":"https://api.github.com/repos/apache/flink","forks_url":"https://api.github.com/repos/apache/flink/forks","keys_url":"https://api.github.com/repos/apache/flink/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/flink/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/flink/teams","hooks_url":"https://api.github.com/repos/apache/flink/hooks","issue_events_url":"https://api.github.com/repos/apache/flink/issues/events{/number}","events_url":"https://api.github.com/repos/apache/flink/events","assignees_url":"https://api.github.com/repos/apache/flink/assignees{/user}","branches_url":"https://api.github.com/repos/apache/flink/branches{/branch}","tags_url":"https://api.github.com/repos/apache/flink/tags","blobs_url":"https://api.github.com/repos/apache/flink/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/flink/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/flink/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/flink/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/flink/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/flink/languages","stargazers_url":"https://api.github.com/repos/apache/flink/stargazers","contributors_url":"https://api.github.com/repos/apache/flink/contributors","subscribers_url":"https://api.github.com/repos/apache/flink/subscribers","subscription_url":"https://api.github.com/repos/apache/flink/subscription","commits_url":"https://api.github.com/repos/apache/flink/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/flink/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/flink/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/flink/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/flink/contents/{+path}","compare_url":"https://api.github.com/repos/apache/flink/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/flink/merges","archive_url":"https://api.github.com/repos/apache/flink/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/flink/downloads","issues_url":"https://api.github.com/repos/apache/flink/issues{/number}","pulls_url":"https://api.github.com/repos/apache/flink/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/flink/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/flink/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/flink/labels{/name}","releases_url":"https://api.github.com/repos/apache/flink/releases{/id}","created_at":"2014-06-07T07:00:10Z","updated_at":"2015-05-14T14:43:54Z","pushed_at":"2015-05-14T15:18:50Z","git_url":"git://github.com/apache/flink.git","ssh_url":"git@github.com:apache/flink.git","clone_url":"https://github.com/apache/flink.git","svn_url":"https://github.com/apache/flink","homepage":null,"size":3154350,"stargazers_count":407,"watchers_count":407,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":255,"mirror_url":"git://git.apache.org/incubator-flink.git","open_issues_count":42,"forks":255,"open_issues":42,"watchers":407,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/flink/pulls/672"},"html":{"href":"https://github.com/apache/flink/pull/672"},"issue":{"href":"https://api.github.com/repos/apache/flink/issues/672"},"comments":{"href":"https://api.github.com/repos/apache/flink/issues/672/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/flink/pulls/672/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/flink/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/flink/pulls/672/commits"},"statuses":{"href":"https://api.github.com/repos/apache/flink/statuses/0b7cdc5fbd3f3271f23e781722edb75d380b3945"}}}}