From 3192b3ee1a91357b27372e7324cccbec00b89928 Mon Sep 17 00:00:00 2001 From: Dale Wijnand Date: Wed, 16 Nov 2016 11:14:42 +0000 Subject: [PATCH] Remove unused warnings --- librarymanagement/src/test/scala/CachedResolutionSpec.scala | 4 ++-- .../scala/sbt/internal/librarymanagement/IvyRepoSpec.scala | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/librarymanagement/src/test/scala/CachedResolutionSpec.scala b/librarymanagement/src/test/scala/CachedResolutionSpec.scala index 85796bd20..182fa9521 100644 --- a/librarymanagement/src/test/scala/CachedResolutionSpec.scala +++ b/librarymanagement/src/test/scala/CachedResolutionSpec.scala @@ -14,7 +14,7 @@ class CachedResolutionSpec extends BaseIvySpecification { ) val report = ivyUpdate(m) cleanCachedResolutionCache(m) - val report2 = ivyUpdate(m) + val _ = ivyUpdate(m) // first resolution creates the minigraph println(report) // second resolution reads from the minigraph @@ -57,7 +57,7 @@ class CachedResolutionSpec extends BaseIvySpecification { Some("2.10.2"), UpdateOptions().withCachedResolution(true) ) // first resolution creates the minigraph - val report0 = ivyUpdate(m) + val _ = ivyUpdate(m) cleanCachedResolutionCache(m) // second resolution reads from the minigraph val report = ivyUpdate(m) diff --git a/librarymanagement/src/test/scala/sbt/internal/librarymanagement/IvyRepoSpec.scala b/librarymanagement/src/test/scala/sbt/internal/librarymanagement/IvyRepoSpec.scala index fd7896c5b..b86e51117 100644 --- a/librarymanagement/src/test/scala/sbt/internal/librarymanagement/IvyRepoSpec.scala +++ b/librarymanagement/src/test/scala/sbt/internal/librarymanagement/IvyRepoSpec.scala @@ -58,7 +58,6 @@ class IvyRepoSpec extends BaseIvySpecification with DependencyBuilders { val clMod = { import language.implicitConversions - implicit val key = (m: ModuleID) => (m.organization, m.name, m.revision) val externalModules = Vector(dep) // Note: need to extract ourModuleID so we can plug it in here, can't fish it back out of the IvySbt#Module (`m`) GetClassifiersModule(ourModuleID, externalModules, Vector(Configurations.Compile), attemptedClassifiers)