FrameworkLog log = Activator.getFrameworkLog(); if (log != null) log.log(new FrameworkLogEntry(Activator.PI_APP, FrameworkLogEntry.ERROR, 0, NLS.bind(Messages.persistence_error_saving, fileName), 0, e, null));
	private synchronized static void saveData(String fileName) {		if (storageManager == null || storageManager.isReadOnly())			return;		try {			File data = storageManager.createTempFile(fileName);			if (FILE_APPLOCKS.equals(fileName))				saveLocks(data);			else if (FILE_APPSCHEDULED.equals(fileName))				saveSchedules(data);			storageManager.lookup(fileName, true);			storageManager.update(new String[] {fileName}, new String[] {data.getName()});		} catch (IOException e) {			// TODO should log this!!		}	}