extract method: annotate newly created method @Nullable when applicable (IDEA-76767)

This commit is contained in:
Anna Kozlova
2014-11-27 19:14:03 +01:00
parent 90456f2029
commit c28dee1968
10 changed files with 71 additions and 8 deletions
@@ -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) {