Bug 7156 Search using previous search from Java Search page's list gives wrong results
1. Search via Java Search page (search dialog) 2. Search for something else 3. Select the first Search from the drop down 4. Search ==> searched for wrong java element
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchPage.java
isCaseSensitive= i;
			javaElement= element;
			this.scope= scope;
			this.workingSet= workingSet;
		}
	}
	
	
	public boolean performAction() {
		SearchPatternData data= getPatternData();
		IWorkspace workspace= JavaPlugin.getWorkspace();
		
		IJavaSearchScope scope= null;
		String scopeDescription= ""; 
		switch (getContainer().getSelectedScope()) {
			case ISearchPageContainer.WORKSPACE_SCOPE:
				scopeDescription= SearchMessages.getString("WorkspaceScope"); 
				scope= SearchEngine.createWorkspaceScope();
				break;
			case ISearchPageContainer.SELECTION_SCOPE:
				scopeDescription= SearchMessages.getString("SelectionScope"); 
				scope= JavaSearchScopeFactory.getInstance().createJavaSearchScope(getSelection());
				break;
			case ISearchPageContainer.WORKING_SET_SCOPE:
				IWorkingSet workingSet= getContainer().getSelectedWorkingSet();
				
				if (workingSet == null)
					return false;
				scopeDescription= SearchMessages.getFormattedString("WorkingSetScope", new String[] {workingSet.getName()}); 
				scope= JavaSearchScopeFactory.getInstance().createJavaSearchScope(getContainer().getSelectedWorkingSet());