Remove warning about unneeded named variable

This commit is contained in:
Ethan Atkins
2019-05-30 13:02:11 -07:00
parent 90d0c54caa
commit b9fed2abfb
+1 -1
View File
@@ -241,7 +241,7 @@ private[sbt] object FileStamp {
def getOrElseUpdate(path: Path, stamper: FileStamper): Option[FileStamp] =
underlying.get(path) match {
case null => updateImpl(path, stamper)
case Left(v) => updateImpl(path, stamper)
case Left(_) => updateImpl(path, stamper)
case Right(v) => Some(v)
}
def remove(key: Path): Option[FileStamp] = {