commit | e87c0859b0850f39a11067c88f566ea7773dcd8e | [log] [tgz] |
---|---|---|
author | Luciano Resende <lresende@apache.org> | Wed Oct 03 16:13:51 2018 -0400 |
committer | Luciano Resende <lresende@apache.org> | Wed Oct 03 16:13:51 2018 -0400 |
tree | cd4973567494e171a9405fdb75c8f365e97fe9eb | |
parent | 280fd1c8c3ffcd9198bd12057a1dfe9520cb395d [diff] |
[MINOR] Remove unused code
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 @@ 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]) = {