diff options
author | Eugene Burmako <xeno.by@gmail.com> | 2012-06-06 10:37:31 +0200 |
---|---|---|
committer | Eugene Burmako <xeno.by@gmail.com> | 2012-06-08 15:32:08 +0200 |
commit | 3896a416faffe337a96f873214b02f231f306174 (patch) | |
tree | 73280b539c520818adbd1a9e49d9d1344fbd5dc1 /src/compiler/scala/tools/ant/FastScalac.scala | |
parent | 6355d1a0b825c99560d4ccec1a8769f7421b1a71 (diff) | |
download | scala-3896a416faffe337a96f873214b02f231f306174.tar.gz scala-3896a416faffe337a96f873214b02f231f306174.tar.bz2 scala-3896a416faffe337a96f873214b02f231f306174.zip |
miscellaneous cleanup, mostly fighting with feature warnings
Diffstat (limited to 'src/compiler/scala/tools/ant/FastScalac.scala')
-rw-r--r-- | src/compiler/scala/tools/ant/FastScalac.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/ant/FastScalac.scala b/src/compiler/scala/tools/ant/FastScalac.scala index 19a1526e67..c0d7441ad5 100644 --- a/src/compiler/scala/tools/ant/FastScalac.scala +++ b/src/compiler/scala/tools/ant/FastScalac.scala @@ -157,7 +157,7 @@ class FastScalac extends Scalac { val scalaHome: String = try { val url = ScalaClassLoader.originOfClass(classOf[FastScalac]).get - File(url.getFile).jfile.getParentFile.getParentFile getAbsolutePath + File(url.getFile).jfile.getParentFile.getParentFile.getAbsolutePath } catch { case _ => buildError("Compilation failed because of an internal compiler error;"+ |