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

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

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

object GetOrElseNull
    extends ExprMatch({ case '{ ($x: Option[t]).getOrElse(null) } =>
      "you can use orNull instead of getOrElse(null)"
    })




© 2015 - 2024 Weber Informatics LLC | Privacy Policy