Intention / inspection for unnecessary lateinit #KT-13011 Fixed
(cherry picked from commit 45d82f1)
This commit is contained in:
committed by
Mikhail Glukhikh
parent
d868410093
commit
5fb79259f7
+7
@@ -0,0 +1,7 @@
|
||||
class My {
|
||||
var x: String
|
||||
|
||||
init {
|
||||
x = "My"
|
||||
}
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
class My {
|
||||
lateinit var x: String
|
||||
|
||||
init {
|
||||
x = "My"
|
||||
}
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
<html>
|
||||
<body>
|
||||
This intention removes unnecessary lateinit modifiers.
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user