Changed RemovePartsFromPropertyFix so it uses SpecifyTypeExplicitlyAction.addTypeAnnotation() instead of AddReturnTypeFix.addPropertyType().
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// "Remove initializer from property" "true"
|
||||
abstract class A {
|
||||
abstract var i : Int<caret>
|
||||
abstract var i<caret> : Int
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Remove initializer from property" "true"
|
||||
abstract class A {
|
||||
abstract var i : Int<caret>
|
||||
abstract var i<caret> : Int
|
||||
}
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
// "Remove getter and initializer from property" "true"
|
||||
abstract class B {
|
||||
abstract val i : <caret>Int
|
||||
|
||||
abstract val i<caret> : Int
|
||||
}
|
||||
@@ -9,7 +9,7 @@ import java.util.List
|
||||
|
||||
class M {
|
||||
trait A {
|
||||
val l : <caret>List<Int>?
|
||||
val l<caret> : List<Int>?
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -3,6 +3,6 @@ package a
|
||||
|
||||
class M {
|
||||
trait A {
|
||||
abstract val e : <caret>Exception
|
||||
abstract val e<caret> : Exception
|
||||
}
|
||||
}
|
||||
@@ -3,6 +3,6 @@ package a
|
||||
|
||||
class M {
|
||||
trait A {
|
||||
abstract val i : <caret>Int
|
||||
abstract val i<caret> : Int
|
||||
}
|
||||
}
|
||||
@@ -6,6 +6,6 @@ import java.util.List
|
||||
|
||||
class M {
|
||||
trait A {
|
||||
abstract val l : <caret>List<Int>?
|
||||
abstract val l<caret> : List<Int>?
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user