diff options
author | Paul Phillips <paulp@improving.org> | 2009-06-25 19:35:52 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2009-06-25 19:35:52 +0000 |
commit | 94ade481b2db5d4223741680fdc18b989575bb29 (patch) | |
tree | 42e2e1660489b27f04a8a81ff4b4396aeee4e826 /src | |
parent | 7518d6700f56b1b55cf1bbcc5933a79aecd4733c (diff) | |
download | scala-94ade481b2db5d4223741680fdc18b989575bb29.tar.gz scala-94ade481b2db5d4223741680fdc18b989575bb29.tar.bz2 scala-94ade481b2db5d4223741680fdc18b989575bb29.zip |
New jline jar from mapreduce's generified jline...
New jline jar from mapreduce's generified jline, including 32-bit and
64-bit versions of jline.dll so windows users can be happier.
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/scala/tools/nsc/interpreter/Completion.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/scala/tools/nsc/interpreter/Completion.scala b/src/compiler/scala/tools/nsc/interpreter/Completion.scala index 599ad8fa18..4b03299de1 100644 --- a/src/compiler/scala/tools/nsc/interpreter/Completion.scala +++ b/src/compiler/scala/tools/nsc/interpreter/Completion.scala @@ -130,8 +130,8 @@ class Completion(val interpreter: Interpreter) extends Completor { } // jline's completion comes through here - we ask a Buffer for the candidates. - override def complete(_buffer: String, cursor: Int, candidates: JList[_]): Int = - new Buffer(_buffer).complete(candidates.asInstanceOf[JList[String]]) + override def complete(_buffer: String, cursor: Int, candidates: JList[String]): Int = + new Buffer(_buffer).complete(candidates) def completeStaticMembers(path: String): List[String] = { import java.lang.reflect.Modifier.{ isPrivate, isProtected, isStatic } |