File tree 2 files changed +2
-2
lines changed
compiler/src/dotty/tools/io 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ abstract class AbstractFile extends Iterable[AbstractFile] {
98
98
99
99
/** Checks extension case insensitively. */
100
100
def hasExtension (other : String ) = extension == other.toLowerCase
101
- private lazy val extension : String = Path .extension(name)
101
+ private val extension : String = Path .extension(name)
102
102
103
103
/** The absolute file, if this is a relative file. */
104
104
def absolute : AbstractFile
Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ final class FileZipArchive(file: JFile) extends ZipArchive(file) {
149
149
override def sizeOption : Option [Int ] = Some (zipEntry.getSize.toInt)
150
150
}
151
151
152
- lazy val (root, allDirs) = {
152
+ val (root, allDirs) = {
153
153
val root = new DirEntry (" /" )
154
154
val dirs = mutable.HashMap [String , DirEntry ](" /" -> root)
155
155
val zipFile = openZipFile()
You can’t perform that action at this time.
0 commit comments