Misc: Use TODO() consistently in implementation stubs
#KT-13589 Fixed
This commit is contained in:
@@ -6,7 +6,7 @@ interface A {
|
||||
fun some() : A {
|
||||
return object : A {
|
||||
override val method: () -> Unit?
|
||||
get() = <selection><caret>throw UnsupportedOperationException()</selection>
|
||||
get() = <selection><caret>TODO("not implemented")</selection> //To change initializer of created properties use File | Settings | File Templates.
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -4,5 +4,5 @@ interface A {
|
||||
|
||||
class B : A {
|
||||
override val String.prop: Int
|
||||
get() = <selection><caret>throw UnsupportedOperationException()</selection>
|
||||
get() = <selection><caret>TODO("not implemented")</selection> //To change initializer of created properties use File | Settings | File Templates.
|
||||
}
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ interface A {
|
||||
|
||||
class B : A {
|
||||
override var Int.foo: Double
|
||||
get() = <selection><caret>throw UnsupportedOperationException()</selection>
|
||||
get() = <selection><caret>TODO("not implemented")</selection> //To change initializer of created properties use File | Settings | File Templates.
|
||||
set(value) {
|
||||
}
|
||||
}
|
||||
|
||||
+8
-8
@@ -11,19 +11,19 @@ interface T {
|
||||
|
||||
class C : T {
|
||||
override val a1: Byte
|
||||
get() = <selection><caret>throw UnsupportedOperationException()</selection>
|
||||
get() = <selection><caret>TODO("not implemented")</selection> //To change initializer of created properties use File | Settings | File Templates.
|
||||
override val a2: Short
|
||||
get() = throw UnsupportedOperationException()
|
||||
get() = TODO("not implemented") //To change initializer of created properties use File | Settings | File Templates.
|
||||
override val a3: Int
|
||||
get() = throw UnsupportedOperationException()
|
||||
get() = TODO("not implemented") //To change initializer of created properties use File | Settings | File Templates.
|
||||
override val a4: Long
|
||||
get() = throw UnsupportedOperationException()
|
||||
get() = TODO("not implemented") //To change initializer of created properties use File | Settings | File Templates.
|
||||
override val a5: Float
|
||||
get() = throw UnsupportedOperationException()
|
||||
get() = TODO("not implemented") //To change initializer of created properties use File | Settings | File Templates.
|
||||
override val a6: Double
|
||||
get() = throw UnsupportedOperationException()
|
||||
get() = TODO("not implemented") //To change initializer of created properties use File | Settings | File Templates.
|
||||
override val a7: Char
|
||||
get() = throw UnsupportedOperationException()
|
||||
get() = TODO("not implemented") //To change initializer of created properties use File | Settings | File Templates.
|
||||
override val a8: Boolean
|
||||
get() = throw UnsupportedOperationException()
|
||||
get() = TODO("not implemented") //To change initializer of created properties use File | Settings | File Templates.
|
||||
}
|
||||
@@ -4,5 +4,5 @@ interface T {
|
||||
|
||||
class GC() : T {
|
||||
override val v: Int
|
||||
get() = <selection><caret>throw UnsupportedOperationException()</selection>
|
||||
get() = <selection><caret>TODO("not implemented")</selection> //To change initializer of created properties use File | Settings | File Templates.
|
||||
}
|
||||
|
||||
@@ -10,7 +10,7 @@ class SomeTest : Test {
|
||||
}
|
||||
|
||||
override val testProp: Int
|
||||
get() = throw UnsupportedOperationException()
|
||||
get() = TODO("not implemented") //To change initializer of created properties use File | Settings | File Templates.
|
||||
|
||||
/**
|
||||
* test
|
||||
|
||||
Reference in New Issue
Block a user