Repository: incubator-toree Updated Branches: refs/heads/master 280fd1c8c -> e87c0859b
[MINOR] Remove unused code Project: http://git-wip-us.apache.org/repos/asf/incubator-toree/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-toree/commit/e87c0859 Tree: http://git-wip-us.apache.org/repos/asf/incubator-toree/tree/e87c0859 Diff: http://git-wip-us.apache.org/repos/asf/incubator-toree/diff/e87c0859 Branch: refs/heads/master Commit: e87c0859b0850f39a11067c88f566ea7773dcd8e Parents: 280fd1c Author: Luciano Resende <lrese...@apache.org> Authored: Wed Oct 3 16:13:51 2018 -0400 Committer: Luciano Resende <lrese...@apache.org> Committed: Wed Oct 3 16:13:51 2018 -0400 ---------------------------------------------------------------------- .../toree/kernel/interpreter/scala/ScalaInterpreter.scala | 7 ------- 1 file changed, 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-toree/blob/e87c0859/scala-interpreter/src/main/scala/org/apache/toree/kernel/interpreter/scala/ScalaInterpreter.scala ---------------------------------------------------------------------- diff --git a/scala-interpreter/src/main/scala/org/apache/toree/kernel/interpreter/scala/ScalaInterpreter.scala b/scala-interpreter/src/main/scala/org/apache/toree/kernel/interpreter/scala/ScalaInterpreter.scala index 9750b78..d8a937a 100644 --- a/scala-interpreter/src/main/scala/org/apache/toree/kernel/interpreter/scala/ScalaInterpreter.scala +++ b/scala-interpreter/src/main/scala/org/apache/toree/kernel/interpreter/scala/ScalaInterpreter.scala @@ -268,13 +268,6 @@ class ScalaInterpreter(private val config:Config = ConfigFactory.load) extends I if (text.nonEmpty && showOutput) Some(text.toString) else None) } - - implicit def stringToClass[T<:AnyRef](typeName: String, value: String)(implicit classLoader: ClassLoader): Class[T] = { - val clazz = Class.forName(typeName, true, classLoader) - clazz.asInstanceOf[Class[T]] - } - - protected def interpretBlock(code: String, silent: Boolean = false): (Results.Result, Either[ExecuteOutput, ExecuteFailure]) = {