squash some warnings
This commit is contained in:
parent
3140e72265
commit
e5baba2b29
42 changed files with 146 additions and 161 deletions
|
|
@ -504,6 +504,7 @@ private[stream] object Fusing {
|
|||
private def removeMapping[T](orig: T, map: ju.Map[T, List[T]]): T =
|
||||
map.remove(orig) match {
|
||||
case null ⇒ null.asInstanceOf[T]
|
||||
case Nil ⇒ throw new IllegalStateException("mappings corrupted")
|
||||
case x :: Nil ⇒ x
|
||||
case x :: xs ⇒
|
||||
map.put(orig, xs)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue