[ https://issues.apache.org/jira/browse/FLINK-1907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14543838#comment-14543838 ]
ASF GitHub Bot commented on FLINK-1907: --------------------------------------- Github user rmetzger commented on a diff in the pull request: https://github.com/apache/flink/pull/672#discussion_r30330524 --- Diff: flink-java/src/main/java/org/apache/flink/api/java/RemoteEnvironment.java --- @@ -85,4 +87,14 @@ public String toString() { return "Remote Environment (" + this.host + ":" + this.port + " - parallelism = " + (getParallelism() == -1 ? "default" : getParallelism()) + ") : " + getIdString(); } + + + // needed to call execute on ScalaShellRemoteEnvironment + public int getPort() { + return(this.port); --- End diff -- why are there parentheses around the return value? > Scala Interactive Shell > ----------------------- > > Key: FLINK-1907 > URL: https://issues.apache.org/jira/browse/FLINK-1907 > Project: Flink > Issue Type: New Feature > Components: Scala API > Reporter: Nikolaas Steenbergen > Assignee: Nikolaas Steenbergen > Priority: Minor > > Build an interactive Shell for the Scala api. -- This message was sent by Atlassian JIRA (v6.3.4#6332)