All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.wartremover.warts.CollectHeadOption.scala Maven / Gradle / Ivy

There is a newer version: 3.2.2
Show newest version
package org.wartremover
package warts

object CollectHeadOption
    extends ExprMatch({ case '{ ($x: collection.Iterable[t1]).collect($f).headOption } =>
      "you can use collectFirst instead of collect.headOption"
    })




© 2015 - 2024 Weber Informatics LLC | Privacy Policy