diff options
author | Ismael Juma <ismael@juma.me.uk> | 2011-08-02 10:26:03 +0100 |
---|---|---|
committer | Ismael Juma <ismael@juma.me.uk> | 2011-08-02 10:26:03 +0100 |
commit | 065043a14f2ed23761b0d983b35b94396ad9db58 (patch) | |
tree | 5a62e241f3d0567f03428592950a72eb4286328d | |
parent | 6ff57f559448dac55f22c15cedad873ad6d8dee3 (diff) | |
download | spark-065043a14f2ed23761b0d983b35b94396ad9db58.tar.gz spark-065043a14f2ed23761b0d983b35b94396ad9db58.tar.bz2 spark-065043a14f2ed23761b0d983b35b94396ad9db58.zip |
Use process instead of main as the latter is deprecated.
-rw-r--r-- | repl/src/test/scala/spark/repl/ReplSuite.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/repl/src/test/scala/spark/repl/ReplSuite.scala b/repl/src/test/scala/spark/repl/ReplSuite.scala index a9b1bee7e0..b8442238b8 100644 --- a/repl/src/test/scala/spark/repl/ReplSuite.scala +++ b/repl/src/test/scala/spark/repl/ReplSuite.scala @@ -25,7 +25,7 @@ class ReplSuite extends FunSuite { val interp = new SparkILoop(in, new PrintWriter(out), master) spark.repl.Main.interp = interp val separator = System.getProperty("path.separator") - interp.main(Array("-classpath", paths.mkString(separator))) + interp.process(Array("-classpath", paths.mkString(separator))) spark.repl.Main.interp = null if (interp.sparkContext != null) interp.sparkContext.stop() |