mirror of https://github.com/sbt/sbt.git
Remove warning about unneeded named variable
This commit is contained in:
parent
90d0c54caa
commit
b9fed2abfb
|
|
@ -241,7 +241,7 @@ private[sbt] object FileStamp {
|
||||||
def getOrElseUpdate(path: Path, stamper: FileStamper): Option[FileStamp] =
|
def getOrElseUpdate(path: Path, stamper: FileStamper): Option[FileStamp] =
|
||||||
underlying.get(path) match {
|
underlying.get(path) match {
|
||||||
case null => updateImpl(path, stamper)
|
case null => updateImpl(path, stamper)
|
||||||
case Left(v) => updateImpl(path, stamper)
|
case Left(_) => updateImpl(path, stamper)
|
||||||
case Right(v) => Some(v)
|
case Right(v) => Some(v)
|
||||||
}
|
}
|
||||||
def remove(key: Path): Option[FileStamp] = {
|
def remove(key: Path): Option[FileStamp] = {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue