diff options
author | Martin Odersky <odersky@gmail.com> | 2008-10-15 14:22:32 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2008-10-15 14:22:32 +0000 |
commit | 8b63b6aacbb2efbabe91fe8e9bebcbbcfc242b8e (patch) | |
tree | b657c27ac86edce27d8a8335397ce00de9d969a7 /src/compiler/scala/tools/nsc/io/PlainFile.scala | |
parent | 7e3aecae9e738c9f4129e1c9b841837722b38dd6 (diff) | |
download | scala-8b63b6aacbb2efbabe91fe8e9bebcbbcfc242b8e.tar.gz scala-8b63b6aacbb2efbabe91fe8e9bebcbbcfc242b8e.tar.bz2 scala-8b63b6aacbb2efbabe91fe8e9bebcbbcfc242b8e.zip |
Tightened volatile checking.
Diffstat (limited to 'src/compiler/scala/tools/nsc/io/PlainFile.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/io/PlainFile.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/io/PlainFile.scala b/src/compiler/scala/tools/nsc/io/PlainFile.scala index 924822401e..e79af58874 100644 --- a/src/compiler/scala/tools/nsc/io/PlainFile.scala +++ b/src/compiler/scala/tools/nsc/io/PlainFile.scala @@ -39,7 +39,7 @@ class PlainFile(val file: File) extends AbstractFile { override def input = new FileInputStream(file) override def output = new FileOutputStream(file) - override def size = Some(file.length.toInt) + override def sizeOption = Some(file.length.toInt) override def hashCode(): Int = fpath.hashCode |