mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 06:05:01 +07:00
extract method: annotate newly created method @Nullable when applicable (IDEA-76767)
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
class Result {
|
||||
private String _message;
|
||||
|
||||
@@ -17,6 +19,7 @@ class Main {
|
||||
return result;
|
||||
}
|
||||
|
||||
@Nullable
|
||||
private static Result newMethod(String name) {
|
||||
Result result;
|
||||
if (name == null) {
|
||||
|
||||
Reference in New Issue
Block a user