Moved Milli._ to IO.

This commit is contained in:
Antonio Cunei 2017-12-04 22:06:12 +01:00 committed by Eugene Yokota
parent 340f1684c2
commit 41980634a4
2 changed files with 2 additions and 3 deletions

View File

@ -3,7 +3,7 @@ package librarymanagement
import java.io.File
import java.io.FileNotFoundException
import sbt.io.Milli.getModifiedTime
import sbt.io.IO.getModifiedTime
/**
* Provides extra methods for filtering the contents of an `UpdateReport`

View File

@ -16,7 +16,6 @@ import org.apache.ivy.util.{ CopyProgressEvent, CopyProgressListener, Message }
import org.apache.ivy.util.url.{ AbstractURLHandler, BasicURLHandler, IvyAuthenticator, URLHandler }
import org.apache.ivy.util.url.URLHandler._
import sbt.io.IO
import sbt.io.Milli.setModifiedTime
// Copied from Ivy's BasicURLHandler.
class GigahorseUrlHandler extends AbstractURLHandler {
@ -150,7 +149,7 @@ class GigahorseUrlHandler extends AbstractURLHandler {
val lastModified = lastModifiedTimestamp(response)
if (lastModified > 0) {
setModifiedTime(dest, lastModified)
IO.setModifiedTime(dest, lastModified)
}
if (l != null) {