mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Cleanup: NotNull/Nullable
GitOrigin-RevId: b8e892f32ea84c2115973155dba7127b892cc36e
This commit is contained in:
committed by
intellij-monorepo-bot
parent
ce8e10e6c4
commit
39d2d77155
-9
@@ -1,9 +0,0 @@
|
||||
// "Surround with 'if (obj instanceof String)'" "true"
|
||||
class X {
|
||||
void test(Object obj) {
|
||||
if (obj instanceof Integer) System.out.println();
|
||||
if (obj instanceof String) {
|
||||
String string = (String)obj;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user