From 8f519a21c03fbd04555da606c2168bf1121291e2 Mon Sep 17 00:00:00 2001 From: Mark Harrah Date: Thu, 4 Aug 2011 18:08:21 -0400 Subject: [PATCH] remove obsolete assertion. ref #143 --- ivy/IvyScala.scala | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/ivy/IvyScala.scala b/ivy/IvyScala.scala index 0760a7277..e1672d9d5 100644 --- a/ivy/IvyScala.scala +++ b/ivy/IvyScala.scala @@ -23,11 +23,7 @@ object ScalaArtifacts import ScalaArtifacts._ final case class IvyScala(scalaVersion: String, configurations: Iterable[Configuration], checkExplicit: Boolean, filterImplicit: Boolean, overrideScalaVersion: Boolean, substituteCross: ModuleID => ModuleID) -{ - // otherwise, Ivy produces the error: "impossible to get artifacts when data has not been loaded" - // which may be related to sbt's custom conflict manager (now removed), to IVY-987, or both - assert(if(overrideScalaVersion) checkExplicit else true, "Explicit Scala version checking cannot be disabled when forcing the Scala version.") -} + private object IvyScala { /** Performs checks/adds filters on Scala dependencies (if enabled in IvyScala). */