return cachedExpression;
}
IExtensionRegistry registry= Platform.getExtensionRegistry();
IConfigurationElement[] ces= registry.getConfigurationElementsFor("org.eclipse.core.expressions", "definitions"); //$NON-NLS-1$ //$NON-NLS-2$
Expression foundExpression= null;
<BUG>for (int i= 0; i < ces.length; i++) {
String cid= ces[i].getAttribute("id"); //$NON-NLS-1$
if (cid != null && cid.equals(id)) {</BUG>
try {
<BUG>foundExpression= getExpression(id, ces[i]);
break;</BUG>
} catch (InvalidRegistryObjectException e) {

return cachedExpression;
}
IExtensionRegistry registry= Platform.getExtensionRegistry();
IConfigurationElement[] ces= registry.getConfigurationElementsFor("org.eclipse.core.expressions", "definitions"); //$NON-NLS-1$ //$NON-NLS-2$
Expression foundExpression= null;
for (IConfigurationElement ce : ces) {
String cid= ce.getAttribute("id"); //$NON-NLS-1$
if (cid != null && cid.equals(id)) {
try {
foundExpression= getExpression(id, ce);
break;
} catch (InvalidRegistryObjectException e) {
