Github user tillrohrmann commented on a diff in the pull request:
https://github.com/apache/flink/pull/805#discussion_r32414909
--- Diff:
flink-staging/flink-scala-shell/src/main/scala/org.apache.flink/api/scala/FlinkILoop.scala
---
@@ -191,5 +203,14 @@ HINT: You can use print() on a DataSet to print the
contents to this shell.
)
}
+
+ def getExternalJars(): Array[String] ={
+ var extJars : Array[String] = Array.empty[String]
+ this.externalJars match{
+ case Some(ej) => extJars = ej
+ case None =>
+ }
+ extJars
--- End diff --
Why not doing simply:
```
def getExternalJars(): Array[String] =
externalJars.getOrElse(Array.empty[String])
```
?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---