diff --git a/src/main/kotlin/com/beust/kobalt/maven/ArtifactFetcher.kt b/src/main/kotlin/com/beust/kobalt/maven/ArtifactFetcher.kt index f1b0fe90..34071364 100644 --- a/src/main/kotlin/com/beust/kobalt/maven/ArtifactFetcher.kt +++ b/src/main/kotlin/com/beust/kobalt/maven/ArtifactFetcher.kt @@ -33,7 +33,7 @@ class DownloadManager @Inject constructor(val factory: ArtifactFetcher.IFactory) } }) - public fun download(url: String, fileName: String, executor: ExecutorService) + fun download(url: String, fileName: String, executor: ExecutorService) : Future = CACHE.get(Key(url, fileName, executor)) }