You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@toree.apache.org by ch...@apache.org on 2016/09/27 17:23:41 UTC

[2/8] incubator-toree git commit: Silent is more aggressive than quiet, use that

Silent is more aggressive than quiet, use that


Project: http://git-wip-us.apache.org/repos/asf/incubator-toree/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-toree/commit/d8a6f646
Tree: http://git-wip-us.apache.org/repos/asf/incubator-toree/tree/d8a6f646
Diff: http://git-wip-us.apache.org/repos/asf/incubator-toree/diff/d8a6f646

Branch: refs/heads/master
Commit: d8a6f64662b892d30dec1d1f3b0a8fc81aef217e
Parents: e21c2d4
Author: Marius Van Niekerk <mn...@vm179.corp.maxpointinteractive.com>
Authored: Tue Sep 20 20:02:42 2016 -0400
Committer: Marius van Niekerk <ma...@gmail.com>
Committed: Tue Sep 27 12:52:08 2016 -0400

----------------------------------------------------------------------
 .../toree/kernel/interpreter/scala/ScalaInterpreterSpecific.scala  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-toree/blob/d8a6f646/scala-interpreter/src/main/scala-2.11/org/apache/toree/kernel/interpreter/scala/ScalaInterpreterSpecific.scala
----------------------------------------------------------------------
diff --git a/scala-interpreter/src/main/scala-2.11/org/apache/toree/kernel/interpreter/scala/ScalaInterpreterSpecific.scala b/scala-interpreter/src/main/scala-2.11/org/apache/toree/kernel/interpreter/scala/ScalaInterpreterSpecific.scala
index dd7adbe..999ead4 100644
--- a/scala-interpreter/src/main/scala-2.11/org/apache/toree/kernel/interpreter/scala/ScalaInterpreterSpecific.scala
+++ b/scala-interpreter/src/main/scala-2.11/org/apache/toree/kernel/interpreter/scala/ScalaInterpreterSpecific.scala
@@ -325,7 +325,7 @@ trait ScalaInterpreterSpecific extends SettingsProducerLike { this: ScalaInterpr
     * @return tuple of (completeStatus, indent)
     */
   override def isComplete(code: String): (String, String) = {
-    val result = doQuietly {
+    val result = iMain.beSilentDuring {
       val parse = iMain.parse
       parse(code) match {
         case t: parse.Error => ("invalid", "")