mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-17 20:11:25 +07:00
[Java. Code Formatting] Fix tests which relied on old version of Nullable/NotNull annotations
IDEA-353192 GitOrigin-RevId: f913b37c8fb9c7c754d7c6fcd5c1cdd215a7f295
This commit is contained in:
committed by
intellij-monorepo-bot
parent
95ffe008da
commit
77bfbe1b39
@@ -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";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
@@ -9,8 +9,7 @@ import org.jetbrains.annotations.*;
|
||||
}
|
||||
}
|
||||
class XC extends XEM {
|
||||
@NotNull
|
||||
String f() {
|
||||
@NotNull String f() {
|
||||
return "";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,8 +6,7 @@ public interface MyTestClass {
|
||||
}
|
||||
|
||||
public class MyRealTestClass implements MyTestClass {
|
||||
@NotNull
|
||||
String implementMe(String arg) {
|
||||
@NotNull String implementMe(String arg) {
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user