summaryrefslogtreecommitdiff
path: root/src/library/scala/xml/persistent/CachedFileStorage.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/library/scala/xml/persistent/CachedFileStorage.scala')
-rw-r--r--src/library/scala/xml/persistent/CachedFileStorage.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/xml/persistent/CachedFileStorage.scala b/src/library/scala/xml/persistent/CachedFileStorage.scala
index dfd675f36a..5550259a09 100644
--- a/src/library/scala/xml/persistent/CachedFileStorage.scala
+++ b/src/library/scala/xml/persistent/CachedFileStorage.scala
@@ -73,7 +73,7 @@ extends java.lang.Thread with scala.util.logging.Logged {
import scala.io.Source
import scala.xml.parsing.ConstructingParser
log("[load]\nloading "+theFile)
- val src = Source.fromFile(theFile)()
+ val src = Source.fromFile(theFile)
log("parsing "+theFile)
val res = ConstructingParser.fromSource(src,false).document.docElem(0)
switch