mirror of https://github.com/sbt/sbt.git
Moved Milli._ to IO.
This commit is contained in:
parent
340f1684c2
commit
41980634a4
|
|
@ -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`
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue