mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
moving tests to CE
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<problems />
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
public class Aaa {
|
||||
Object getObject() {
|
||||
return null;
|
||||
}
|
||||
|
||||
void f() {
|
||||
Object obj = getObject();
|
||||
if (obj instanceof Aaa || obj == null) {
|
||||
Aaa a = (Aaa) obj; // inspection reports that ClassCastException can be thrown
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user