mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fix AIOOBE
This commit is contained in:
+4
-1
@@ -118,7 +118,10 @@ public class GrClosableBlockImpl extends GrBlockImpl implements GrClosableBlock
|
||||
}
|
||||
}
|
||||
else if (!isItAlreadyDeclared(place)) {
|
||||
if (!ResolveUtil.processElement(processor, getSyntheticItParameter()[0], state)) return false;
|
||||
GrParameter[] synth = getSyntheticItParameter();
|
||||
if (synth.length > 0) {
|
||||
if (!ResolveUtil.processElement(processor, synth[0], state)) return false;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user