mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
All annotation methods are pure
GitOrigin-RevId: 728b66cdd1070f48652ddba4beaa6410b9a1a5b3
This commit is contained in:
committed by
intellij-monorepo-bot
parent
e9abcbe265
commit
e5e0756b9a
+8
@@ -0,0 +1,8 @@
|
||||
// "Simplify 'my.value() == null' to false" "true"
|
||||
class Test {
|
||||
void some(SuppressWarnings my) {
|
||||
if (my == null) {
|
||||
System.out.println("null");
|
||||
}
|
||||
}
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
// "Simplify 'my.value() == null' to false" "true"
|
||||
class Test {
|
||||
void some(SuppressWarnings my) {
|
||||
if (my == null || my.value() =<caret>= null) {
|
||||
System.out.println("null");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user