mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-09 20:42:52 +07:00
control flow: visit assignment lValue only once (EA-51083 - ESE: Stack.pop)
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
class Some {
|
||||
boolean foo(Object first, Object second) {
|
||||
boolean isEqual = true;
|
||||
|
||||
if (<error descr="Operator '||' cannot be applied to 'boolean', 'java.lang.Object'">first != null || second</error> -= null) {
|
||||
return isEqual;
|
||||
}
|
||||
|
||||
return isEqual;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user