mirror of https://github.com/sbt/sbt.git
Removed a couple more direct imports of getModifiedTime()
This commit is contained in:
parent
d17245344d
commit
d2338ff287
|
|
@ -9,7 +9,7 @@ import java.io.File
|
|||
import sbt.io.{ IO, Path }
|
||||
import sbt.io.syntax._
|
||||
import Path._
|
||||
import sbt.io.IO.getModifiedTime
|
||||
import sbt.io.IO
|
||||
|
||||
class FileCommands(baseDirectory: File) extends BasicStatementHandler {
|
||||
lazy val commands = commandMap
|
||||
|
|
|
|||
|
|
@ -3,11 +3,11 @@ package sbt.util
|
|||
import sjsonnew.shaded.scalajson.ast.unsafe._
|
||||
import sjsonnew._, support.scalajson.unsafe._
|
||||
import sbt.internal.util.UnitSpec
|
||||
import sbt.io.IO.getModifiedTime
|
||||
import sbt.io.IO
|
||||
|
||||
class FileInfoSpec extends UnitSpec {
|
||||
val file = new java.io.File(".").getAbsoluteFile
|
||||
val fileInfo: ModifiedFileInfo = FileModified(file, getModifiedTime(file))
|
||||
val fileInfo: ModifiedFileInfo = FileModified(file, IO.getModifiedTime(file))
|
||||
val filesInfo = FilesInfo(Set(fileInfo))
|
||||
|
||||
it should "round trip" in assertRoundTrip(filesInfo)
|
||||
|
|
|
|||
Loading…
Reference in New Issue