if (change != null) { if ((change.getType() & BundleDelta.REMOVED) != 0) change.setType(BundleDelta.UPDATED | (change.getType() & ~BundleDelta.REMOVED)); else throw new IllegalStateException(); } else
if (change == null)
	void recordBundleAdded(BundleDescriptionImpl added) {		Object key = added.getKey();		BundleDeltaImpl change = (BundleDeltaImpl) changes.get(key);		if (change != null) {			if ((change.getType() & BundleDelta.REMOVED) != 0)				change.setType(BundleDelta.UPDATED | (change.getType() & ~BundleDelta.REMOVED));			else				throw new IllegalStateException();		} else			changes.put(key, new BundleDeltaImpl(added, BundleDelta.ADDED));	}