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,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<problems>
|
||||
<problem>
|
||||
<file>Npe.java</file>
|
||||
<line>7</line>
|
||||
<description>Method invocation 'o.equals()' produce NullPointerException</description>
|
||||
</problem>
|
||||
</problems>
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
public class Npe {
|
||||
public void a(Object o) {
|
||||
if (o != null) {
|
||||
// Do something
|
||||
}
|
||||
|
||||
o.equals();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user