Test update after 'Specify explicitly type' action refactoring

This commit is contained in:
Mikhael Bogdanov
2013-02-21 18:05:56 +04:00
parent 5460f984e9
commit 49bbbe1a0b
14 changed files with 15 additions and 14 deletions
@@ -2,7 +2,7 @@
import java.util.HashMap import java.util.HashMap
fun foo(map : HashMap<String, Int>) { fun foo(map : HashMap<String, Int>) {
for (<caret>entry : MutableMap.MutableEntry<String, Int> in map.entrySet()) { for (entry : MutableMap.MutableEntry<String, Int><caret> in map.entrySet()) {
} }
} }
@@ -1,4 +1,4 @@
// "Remove initializer from property" "true" // "Remove initializer from property" "true"
abstract class A { abstract class A {
abstract var i<caret>: Int abstract var i: Int<caret>
} }
@@ -1,4 +1,5 @@
// "Remove getter and initializer from property" "true" // "Remove getter and initializer from property" "true"
abstract class B { abstract class B {
abstract val i<caret>: Int abstract val i: Int<caret>
} }
@@ -2,5 +2,5 @@
package a package a
class A() { class A() {
protected fun <caret>foo(): Int = 1 protected fun foo(): Int<caret> = 1
} }
@@ -2,5 +2,5 @@
package a package a
class A() { class A() {
public fun <caret>foo(): String = "a" public fun foo(): String<caret> = "a"
} }
@@ -2,5 +2,5 @@
package a package a
class A() { class A() {
public fun foo(<caret>p: String): String = "a" public fun foo(p: String): String<caret> = "a"
} }
@@ -1,4 +1,4 @@
// "Specify type explicitly" "true" // "Specify type explicitly" "true"
package a package a
public val <caret>l: List<Int> = java.util.Collections.emptyList<Int>() public val l: List<Int><caret> = java.util.Collections.emptyList<Int>()
@@ -1,4 +1,4 @@
// "Specify type explicitly" "true" // "Specify type explicitly" "true"
package a package a
<caret>public val l: List<Int> = java.util.Collections.emptyList<Int>() public val l: List<Int><caret> = java.util.Collections.emptyList<Int>()
@@ -9,7 +9,7 @@ import java.util.List
class M { class M {
trait A { trait A {
val l<caret>: jet.List<Int> val l: jet.List<Int><caret>
} }
} }
} }
@@ -3,5 +3,5 @@
class A() {} class A() {}
class B() { class B() {
public val <caret>a: A = A() public val a: A<caret> = A()
} }
@@ -3,6 +3,6 @@ package a
class M { class M {
trait A { trait A {
abstract val e<caret>: Exception abstract val e: Exception<caret>
} }
} }
@@ -3,6 +3,6 @@ package a
class M { class M {
trait A { trait A {
abstract val i<caret>: Int abstract val i: Int<caret>
} }
} }
@@ -5,6 +5,6 @@ import java.util.Collections
class M { class M {
trait A { trait A {
abstract val l<caret>: List<Int> abstract val l: List<Int><caret>
} }
} }
@@ -6,5 +6,5 @@ package a
import b.B import b.B
class A() { class A() {
public val <caret>a: B = b.foo() public val a: B<caret> = b.foo()
} }