Override/Implement: Use function body template when generating functions with default body
#KT-11807 Fixed
This commit is contained in:
+2
-2
@@ -6,14 +6,14 @@ interface T<X> {
|
||||
|
||||
class U : T<String> {
|
||||
override fun foo(x: String): String {
|
||||
throw UnsupportedOperationException()
|
||||
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
class V : T<Int> {
|
||||
override fun foo(x: Int): Int {
|
||||
throw UnsupportedOperationException()
|
||||
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user