Misc: Use TODO() consistently in implementation stubs
#KT-13589 Fixed
This commit is contained in:
+1
-1
@@ -8,5 +8,5 @@ enum class E : T<Int> {
|
||||
A, B, C;
|
||||
|
||||
override val foo: Int
|
||||
get() = <caret><selection>throw UnsupportedOperationException()</selection>
|
||||
get() = <caret><selection>TODO("not implemented")</selection> //To change initializer of created properties use File | Settings | File Templates.
|
||||
}
|
||||
+1
-1
@@ -8,5 +8,5 @@ enum class E : T<Int> {
|
||||
A, B, C;
|
||||
|
||||
override val foo: Int
|
||||
get() = <caret><selection>throw UnsupportedOperationException()</selection>
|
||||
get() = <caret><selection>TODO("not implemented")</selection> //To change initializer of created properties use File | Settings | File Templates.
|
||||
}
|
||||
Vendored
+1
-1
@@ -8,7 +8,7 @@ enum class E : T<Int> {
|
||||
A, B, C;
|
||||
|
||||
override val foo: Int
|
||||
get() = <caret><selection>throw UnsupportedOperationException()</selection>
|
||||
get() = <caret><selection>TODO("not implemented")</selection> //To change initializer of created properties use File | Settings | File Templates.
|
||||
|
||||
val bar = 1
|
||||
|
||||
|
||||
+3
-3
@@ -3,13 +3,13 @@
|
||||
enum class E {
|
||||
A {
|
||||
override val foo: Int
|
||||
get() = throw UnsupportedOperationException()
|
||||
get() = TODO("not implemented") //To change initializer of created properties use File | Settings | File Templates.
|
||||
}, B {
|
||||
override val foo: Int
|
||||
get() = throw UnsupportedOperationException()
|
||||
get() = TODO("not implemented") //To change initializer of created properties use File | Settings | File Templates.
|
||||
}, C {
|
||||
override val foo: Int
|
||||
get() = <caret><selection>throw UnsupportedOperationException()</selection>
|
||||
get() = TODO("not implemented") //To change initializer of created properties use File | Settings | File Templates.
|
||||
};
|
||||
|
||||
abstract val foo: Int
|
||||
|
||||
+3
-3
@@ -3,13 +3,13 @@
|
||||
enum class E(n: Int) {
|
||||
A(1) {
|
||||
override val foo: Int
|
||||
get() = throw UnsupportedOperationException()
|
||||
get() = TODO("not implemented") //To change initializer of created properties use File | Settings | File Templates.
|
||||
}, B(2) {
|
||||
override val foo: Int
|
||||
get() = throw UnsupportedOperationException()
|
||||
get() = TODO("not implemented") //To change initializer of created properties use File | Settings | File Templates.
|
||||
}, C(3) {
|
||||
override val foo: Int
|
||||
get() = <caret><selection>throw UnsupportedOperationException()</selection>
|
||||
get() = <caret><selection>TODO("not implemented")</selection> //To change initializer of created properties use File | Settings | File Templates.
|
||||
};
|
||||
|
||||
abstract val foo: Int
|
||||
|
||||
+2
-2
@@ -6,13 +6,13 @@ interface T<X> {
|
||||
|
||||
class U : T<String> {
|
||||
override val foo: String
|
||||
get() = throw UnsupportedOperationException()
|
||||
get() = TODO("not implemented") //To change initializer of created properties use File | Settings | File Templates.
|
||||
|
||||
}
|
||||
|
||||
class V : T<Int> {
|
||||
override val foo: Int
|
||||
get() = <caret><selection>throw UnsupportedOperationException()</selection>
|
||||
get() = <caret><selection>TODO("not implemented")</selection> //To change initializer of created properties use File | Settings | File Templates.
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user