mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 08:31:29 +00:00
Do not generate @NotNull annotations on void- or primitive-returning methods
#KT-4834 Fixed #KT-5255 Fixed
This commit is contained in:
@@ -1,11 +1,9 @@
|
||||
package foo;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
class JavaClass {
|
||||
|
||||
@NotNull
|
||||
@Override
|
||||
public void bar(@Nullable String price) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user