default -> companion: replace all mentions of default and default object
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// "Create function 'foo'" "true"
|
||||
|
||||
class A<T>(val n: T) {
|
||||
default object {
|
||||
companion object {
|
||||
fun foo(i: Int): Int {
|
||||
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
// "Create function 'foo'" "true"
|
||||
|
||||
class A<T>(val n: T) {
|
||||
default object {
|
||||
companion object {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user