default -> companion: replace all mentions of default and default object
This commit is contained in:
@@ -3,6 +3,6 @@ class JavaUsage {
|
||||
System.out.println(Foo.CONST);
|
||||
Foo.s();
|
||||
Foo.Bar.f();
|
||||
Foo foo = new Foo(); // not usage of default object
|
||||
Foo foo = new Foo(); // not usage of companion object
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
class Foo {
|
||||
default object Bar {
|
||||
companion object Bar {
|
||||
fun f() {
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user