KT-12100 convert try / finally to use: safe close() is allowed in finally + correct new lines
This commit is contained in:
+3
-1
@@ -3,5 +3,7 @@ import java.io.File
|
||||
import java.io.BufferedReader
|
||||
|
||||
fun BufferedReader.foo() {
|
||||
use { readLine() }
|
||||
use {
|
||||
readLine()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user