Hide listFiles as it's no more preferred by overload resolution over synthetic SAM invocations.

#KT-10652 Fixed
This commit is contained in:
Ilya Gorbunov
2016-01-13 19:04:23 +03:00
parent b185316a6e
commit 56ddd496c5
@@ -373,6 +373,7 @@ public fun File.deleteRecursively(): Boolean = walkBottomUp().fold(true, { res,
* Returns an array of files and directories in the directory that match the specified [filter]
* or `null` if this file does not denote a directory.
*/
@Deprecated("Provided for binary compatiblity", level = DeprecationLevel.HIDDEN)
public fun File.listFiles(filter: (file: File) -> Boolean): Array<File>? = listFiles(FileFilter(filter))
/**