mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-15 07:33:30 +07:00
moved to community
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
// LocalsOrMyInstanceFieldsControlFlowPolicy
|
||||
|
||||
class MyTest {
|
||||
void f(Object o, long childrenStamp, Object o2) {<caret>
|
||||
long currentStamp;
|
||||
if ((o instanceof String && childrenStamp != (currentStamp = 0))
|
||||
||
|
||||
(o2 instanceof Integer && childrenStamp != (currentStamp = 1))
|
||||
)
|
||||
{
|
||||
childrenStamp = currentStamp;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user