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

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

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

object Unsafe extends WartTraverser {
  val safeTraversers: List[WartTraverser] = List(
    Any,
    AsInstanceOf,
    DefaultArguments,
    EitherProjectionPartial,
    IsInstanceOf,
    IterableOps,
    NonUnitStatements,
    Null,
    OptionPartial,
    Product,
    Return,
    Serializable,
    StringPlusAny,
    Throw,
    TripleQuestionMark,
    TryPartial,
    Var
  )

  def apply(u: WartUniverse): u.Traverser =
    WartTraverser.sumList(u)(safeTraversers)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy