mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 00:21:47 +00:00
Override/Implement: Prefer not-nullable return type when overriding Java method without nullability annotation
#KT-12381 Fixed
(cherry picked from commit 2b87f8e)
This commit is contained in:
@@ -3,7 +3,7 @@ package foo
|
||||
import foo.Intf
|
||||
|
||||
class Impl(): Intf() {
|
||||
override fun getFooBar(): String? {
|
||||
override fun getFooBar(): String {
|
||||
<selection><caret>return super.getFooBar()</selection>
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user