463464465466467468469470471472473
for (int i = 0; i < portlets.getReferenceCount(); i++) { if (portlets.getReference(i) == identityElement) { customizationState.setAttribute(REFERENCES_REMOVED, "true"); portlets.removeReference(i); } } } } }
501502503504505506507508509510511
471472473474475476477478479480481
{ for (int i = 0; i < portlets.getReferenceCount(); i++) { if (portlets.getReference(i) == identityElement) { portlets.removeReference(i); } } } } }