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,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<problems>
|
||||
<problem>
|
||||
<file>Test.java</file>
|
||||
<line>9</line>
|
||||
<description>'foo() != null' is always true</description>
|
||||
</problem>
|
||||
</problems>
|
||||
@@ -0,0 +1,11 @@
|
||||
import org.jetbrains.annotations.*;
|
||||
public class Test {
|
||||
@NotNull
|
||||
public Object foo() {
|
||||
return new Object();
|
||||
}
|
||||
|
||||
public void qqq() {
|
||||
int c = foo() != null ? foo().hashCode() : 0;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user