if (toggleLock) { if (resource.isLocked()) { VersionHelper.unlock(resource); } else { VersionHelper.lock(resource); } super.refreshList();
if (resource.isLocked()) { VersionHelper.unlock(resource); } else { VersionHelper.lock(resource);
	private void toggleLock(WebdavExtendedResource resource) {		if (toggleLock) {			if (resource.isLocked()) {				VersionHelper.unlock(resource);			} else {				VersionHelper.lock(resource);			}			super.refreshList();		}	}