added checking for multiline comments in scala
authorYaniv Rodenski <roadan@gmail.com>
Sat, 9 Jun 2018 04:03:41 +0000 (14:03 +1000)
committerYaniv Rodenski <roadan@gmail.com>
Sat, 9 Jun 2018 04:03:41 +0000 (14:03 +1000)
executor/src/main/scala/org/apache/spark/repl/amaterasu/runners/spark/SparkScalaRunner.scala

index a45b8c0..e6511b6 100755 (executable)
@@ -61,7 +61,7 @@ class SparkScalaRunner(var env: Environment,
 
     for (line <- source.getLines()) {
 
-      if (!line.isEmpty) {
+      if (!line.isEmpty || !line.startsWith("*") || !line.startsWith("/")) {
 
         outStream.reset()
         log.debug(line)