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
SearchMessages.getString("SearchPage.searchFor.method"), 
		SearchMessages.getString("SearchPage.searchFor.package"), 
		SearchMessages.getString("SearchPage.searchFor.constructor"), 
		SearchMessages.getString("SearchPage.searchFor.field")}; 
	private Button[] fLimitTo;
	private String[] fLimitToText= {
		SearchMessages.getString("SearchPage.limitTo.declarations"), 
		SearchMessages.getString("SearchPage.limitTo.implementors"), 
		SearchMessages.getString("SearchPage.limitTo.references"), 
		SearchMessages.getString("SearchPage.limitTo.allOccurrences"), 
		SearchMessages.getString("SearchPage.limitTo.readReferences"), 		
		SearchMessages.getString("SearchPage.limitTo.writeReferences")}; 
	
	private class SearchPatternData {
		int			searchFor;
		int			limitTo;
		String			pattern;
		boolean		isCaseSensitive;
		IJavaElement	javaElement;
		int			scope;
		IWorkingSet	 	workingSet;
		
		public SearchPatternData(int s, int l, String p, IJavaElement element) {
			this(s, l, p, fIsCaseSensitive || element != null, element, ISearchPageContainer.WORKSPACE_SCOPE, null);
		}
		
		public SearchPatternData(int s, int l, String p, boolean i, IJavaElement element, int scope, IWorkingSet workingSet) {
			searchFor= s;
			limitTo= l;
			pattern= p;