Bug 28398 New Java Project Wizard: no source folder after using "Back"
Build 20021213 1. Start the new Java Project wizard 2. Enter "JUnix" 3. Press "Next" - see: there's a source folder 4. Press "Back" 5. Change project name to "JUnit" 6. Press "Next" ==> no source folder
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/SourceContainerWorkbookPage.java
private void askForAddingExclusionPatternsDialog(List newEntries, Set modifiedEntries) {
		for (int i= 0; i < newEntries.size(); i++) {
			CPListElement curr= (CPListElement) newEntries.get(i);
			addExclusionPatterns(curr, modifiedEntries);
		}
		if (!modifiedEntries.isEmpty()) {
			String title= NewWizardMessages.getString("SourceContainerWorkbookPage.exclusion_added.title"); 
			String message= NewWizardMessages.getString("SourceContainerWorkbookPage.exclusion_added.message"); 
			MessageDialog.openInformation(getShell(), title, message);
		}
	}
	
	
	private void addExclusionPatterns(CPListElement newEntry, Set modifiedEntries) {
		IPath entryPath= newEntry.getPath();
		List existing= fFoldersList.getElements();
		for (int i= 0; i < existing.size(); i++) {
			CPListElement curr= (CPListElement) existing.get(i);
			IPath currPath= curr.getPath();
			if (currPath.isPrefixOf(entryPath)) {
				IPath[] exclusionFilters= (IPath[]) curr.getAttribute(CPListElement.EXCLUSION);
				if (!JavaModelUtil.isExcludedPath(entryPath, exclusionFilters)) {
					IPath pathToExclude= entryPath.removeFirstSegments(currPath.segmentCount()).addTrailingSeparator();
					IPath[] newExclusionFilters= new IPath[exclusionFilters.length + 1];
					System.arraycopy(exclusionFilters, 0, newExclusionFilters, 0, exclusionFilters.length);
					newExclusionFilters[exclusionFilters.length]= pathToExclude;
					curr.setAttribute(CPListElement.EXCLUSION, newExclusionFilters);
					modifiedEntries.add(curr);
				}