mirror of https://github.com/sbt/sbt.git
deprecated says to use pair and so it's used in the body
This commit is contained in:
parent
e338266257
commit
f77c4927bc
|
|
@ -118,7 +118,7 @@ sealed abstract class PathFinder
|
||||||
final def \ (literal: String): PathFinder = this / literal
|
final def \ (literal: String): PathFinder = this / literal
|
||||||
|
|
||||||
@deprecated("Use pair.", "0.13.1")
|
@deprecated("Use pair.", "0.13.1")
|
||||||
def x_: Traversable[(File,T)] = x(mapper, false)
|
def x_: Traversable[(File,T)] = pair(mapper, false)
|
||||||
|
|
||||||
/** Applies `mapper` to each path selected by this PathFinder and returns the path paired with the non-empty result.
|
/** Applies `mapper` to each path selected by this PathFinder and returns the path paired with the non-empty result.
|
||||||
* If the result is empty (None) and `errorIfNone` is true, an exception is thrown.
|
* If the result is empty (None) and `errorIfNone` is true, an exception is thrown.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue