String updateLocation = location;
String updateLocation = bundledata.getLocation();
	public void update() throws BundleException {		if (Debug.DEBUG && Debug.DEBUG_GENERAL) {			Debug.println("update location " + location);		}		framework.checkAdminPermission();		checkValid();		beginStateChange();		try {			updateWorker(new PrivilegedExceptionAction() {				public Object run() throws BundleException {					/* compute the update location */					String updateLocation = location;					if (bundledata.getManifest().get(Constants.BUNDLE_UPDATELOCATION) != null) {						updateLocation = (String) bundledata.getManifest().get(Constants.BUNDLE_UPDATELOCATION);						if (Debug.DEBUG && Debug.DEBUG_GENERAL) {							Debug.println("   from location: " + updateLocation);						}					}					/* Map the identity to a URLConnection */					URLConnection source = framework.adaptor.mapLocationToURLConnection(updateLocation);					/* call the worker */					updateWorkerPrivileged(source);					return null;				}			});		} catch (BundleException e) {			if (!(e.getNestedException() instanceof NothingToUpdateException)) {				throw e;			}			//There is no work to be done with this update.			//Quietly return with no error.		} finally {			completeStateChange();		}	}