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

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

package org.wartremover
package warts

object ReverseTakeReverse
    extends ExprMatch({ case '{ ($x: collection.Seq[t1]).reverse.take($n).reverse } =>
      "you can use takeRight instead of reverse.take.reverse"
    })




© 2015 - 2024 Weber Informatics LLC | Privacy Policy