mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-02 11:18:16 +07:00
more java tests moved to community
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
// "Fix all 'Constant conditions & exceptions' problems" "true"
|
||||
public class Test {
|
||||
void foo1() {
|
||||
int k = 0;
|
||||
int i = 0;
|
||||
if (i == k) {}
|
||||
if (i == k) {}
|
||||
if (i == k) {}
|
||||
if (i == k) {}
|
||||
if (i == k) {}
|
||||
if (i == k) {}
|
||||
}
|
||||
|
||||
void foo2() {
|
||||
int k = 0;
|
||||
int i = 0;
|
||||
if (<caret>i == k) {}
|
||||
if (i == k) {}
|
||||
if (i == k) {}
|
||||
if (i == k) {}
|
||||
if (i == k) {}
|
||||
if (i == k) {}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user