From fda77d56dbe53e5425a5bf8a5f1e8aa1607216e4 Mon Sep 17 00:00:00 2001 From: Josh Suereth Date: Fri, 29 May 2015 09:49:47 -0400 Subject: [PATCH] Minor fixes of leftover codes from review. --- ivy/src/main/scala/sbt/CustomPomParser.scala | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/ivy/src/main/scala/sbt/CustomPomParser.scala b/ivy/src/main/scala/sbt/CustomPomParser.scala index 601f6e34d..d37804cbc 100644 --- a/ivy/src/main/scala/sbt/CustomPomParser.scala +++ b/ivy/src/main/scala/sbt/CustomPomParser.scala @@ -74,14 +74,10 @@ object CustomPomParser { val oldTransformedHashKey = "sbtTransformHash" val extraInfo = md.getExtraInfo val MyHash = MakeTransformHash(md) - val h = MyHash // sbt 0.13.1 used "sbtTransformHash" instead of "e:sbtTransformHash" until #1192 so read both Option(extraInfo).isDefined && ((Option(extraInfo get TransformedHashKey) orElse Option(extraInfo get oldTransformedHashKey)) match { - case x @ Some(MyHash) => - true - case Some(other) => - false + case Some(MyHash) => true case _ => false }) }