Clean TODOs and commented code which works.

This commit is contained in:
Ilya Ryzhenkov
2014-03-05 20:33:13 +04:00
committed by Andrey Breslav
parent 266f6ad81a
commit fb7034a472
6 changed files with 21 additions and 23 deletions
+2 -3
View File
@@ -29,12 +29,11 @@ class ExceptionTest {
fun assertPrintStackTraceStream(t: Throwable) {
val byteBuffer = ByteArrayOutputStream()
/*
// TODO compiler error
PrintStream(byteBuffer).use {
t.printStackTrace(it)
}
*/
val stream = PrintStream(byteBuffer)
stream.use {
t.printStackTrace(stream)