synchronized (fragments) { int size = fragments.size(); for (int i = 0; i < size; i++) { BundleFragment fragment = (BundleFragment) fragments.elementAt(i); fragment.unresolve(); }
for (int i = 0; i < fragments.length; i++) { fragments[i].unresolve();
	protected void unresolveFragments() {		if (fragments != null) {			// TODO is this sync really needed?  unresolve should only ever be done in with the state change lock aquired no?			synchronized (fragments) {				int size = fragments.size();				for (int i = 0; i < size; i++) {					BundleFragment fragment = (BundleFragment) fragments.elementAt(i);					fragment.unresolve();				}			}		}	}