default -> companion: replace all mentions of default and default object

This commit is contained in:
Pavel V. Talanov
2015-03-16 14:56:06 +03:00
parent a0783757e8
commit 06916d98c6
1019 changed files with 2468 additions and 2469 deletions
@@ -1,7 +1,7 @@
package test
public class Short {
default object {
companion object {
public fun valueOf(value: String): Short {
return Short()
}
@@ -9,7 +9,7 @@ public class Short {
}
class Test {
default object {
companion object {
public fun test() {
test.Short.valueOf("1")
test.Short.valueOf("1")
@@ -3,7 +3,7 @@ class S {
return true
}
default object {
companion object {
var myI = 10
}
}
@@ -1,5 +1,5 @@
class S {
default object {
companion object {
fun staticF(): Boolean {
return true
}
@@ -3,7 +3,7 @@ class S {
return true
}
default object {
companion object {
fun sI(): Int {
return 1
}
@@ -1,5 +1,5 @@
class S {
default object {
companion object {
fun sB(): Boolean {
return true
}