} else commit = confirmCommit(modified);
} else { ProjectProperties projectProperties = ProjectProperties.getProjectProperties(modified[0]); commit = confirmCommit(modified, projectProperties); }
			public void run(IProgressMonitor monitor) throws InvocationTargetException {				try {				    // search for modified or added, non-ignored resources in the selection.				    IResource[] modified = getModifiedResources(resources, monitor);									    // if no changes since last commit, do not show commit dialog.				    if (modified.length == 0) {					    MessageDialog.openInformation(getShell(), Policy.bind("CommitDialog.title"), Policy.bind("CommitDialog.noChanges")); //$NON-NLS-1$					    commit = false;					} else					    commit = confirmCommit(modified);				    // if commit was not canceled, create a list of any				    // unversioned resources that were selected.					if (commit) {					    List toBeAddedList = new ArrayList();					    for (int i = 0; i < resourcesToCommit.length; i++) {					        IResource resource = resourcesToCommit[i];					        ISVNLocalResource svnResource = SVNWorkspaceRoot.getSVNResourceFor(resource);					        if (!svnResource.isManaged()) toBeAddedList.add(resource);					    }					    resourcesToBeAdded[0] = new IResource[toBeAddedList.size()];					    toBeAddedList.toArray(resourcesToBeAdded[0]);					   					}				} catch (TeamException e) {					throw new InvocationTargetException(e);				}			}