[Java. Code Formatting] Fix tests which relied on old version of Nullable/NotNull annotations

IDEA-353192

GitOrigin-RevId: f913b37c8fb9c7c754d7c6fcd5c1cdd215a7f295
This commit is contained in:
Georgii Ustinov
2024-05-17 12:04:27 +03:00
committed by intellij-monorepo-bot
parent 95ffe008da
commit 77bfbe1b39
9 changed files with 23 additions and 46 deletions

View File

@@ -13,8 +13,7 @@ class Y extends X{
}
}
class Z extends Y {
@NotNull
String dontAnnotateBase<caret>() {// trigger quick fix for inspection here
@NotNull String dontAnnotateBase() {// trigger quick fix for inspection here
return "Z";
}
}

View File

@@ -9,15 +9,13 @@ abstract class P2 {
}
class PPP extends P2 {
@NotNull
String foo(P p) {
@NotNull String foo(P p) {
return super.foo(p);
}
}
class PPP2 extends P2 {
@NotNull
String foo(P p) {
@NotNull String foo(P p) {
return super.foo(p);
}
}

View File

@@ -9,8 +9,7 @@ import org.jetbrains.annotations.*;
}
}
class XC extends XEM {
@NotNull
String f() {
@NotNull String f() {
return "";
}
}

View File

@@ -6,8 +6,7 @@ public interface MyTestClass {
}
public class MyRealTestClass implements MyTestClass {
@NotNull
String implementMe(String arg) {
@NotNull String implementMe(String arg) {
}
}