mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
extract method: prepare method body to have @Nullable/@NotNull before actual extract is performed
This commit is contained in:
+2
-2
@@ -1,4 +1,4 @@
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
class Test {
|
||||
void foo() {
|
||||
@@ -11,7 +11,7 @@ class Test {
|
||||
}
|
||||
}
|
||||
|
||||
@NotNull
|
||||
@Nullable
|
||||
private String newMethod() {
|
||||
final String str = "";
|
||||
if (str == "") {
|
||||
|
||||
Reference in New Issue
Block a user