Bug 15544 JavaDoc wizard includes non-selected packages
If you have two source folders: src and test, and tell the JavaDoc wizard to use only the packages in src, it will include any matching packages from the test source folder. Eg. If I have select the package 'ca.beq.tundra' in the 'src' folder, the generated JavaDocs will also include classes from the 'ca.beq.tundra' package in the 'test' folder. Using integration build 0502.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocTreeWizardPage.java
res.add(pack);
				}
			}
		}
		return (IJavaElement[]) res.toArray(new IJavaElement[res.size()]);
	}
	protected void finish() {
		
		
		
		if (fCustomButton.getSelection()) {
			fStore.setDocletName(fDocletTypeText.getText());
			fStore.setDocletPath(fDocletText.getText());
			fStore.setFromStandard(false);
		}
		if(fStandardButton.getSelection()){
			fStore.setFromStandard(true);
			fStore.setDestination(fWizard.getProject(), fDestinationText.getText());
		}
			
		IJavaProject project= getCurrentProject();
		fStore.setProject(project);	
		fStore.setSourcepath(getSourcePath(project));
		fStore.setClasspath(getClassPath(project));	
		fStore.setAccess(fVisibilitySelection);
		fStore.setSourceElements(getSourceElements());
	}
	private void doValidation(int validate) {
		switch (validate) {
			case PREFERENCESTATUS :