#vulnerable code 
                             public void getStartingWith(String queryString, Field field, String start,
			int limit, List<NamedItem> list) throws ParseException,
			IOException, SyntaxError, URISyntaxException,
			ClassNotFoundException, InterruptedException, SearchLibException,
			InstantiationException, IllegalAccessException {
		SearchRequest searchRequest = client.getNewSearchRequest(field
				+ "Facet");
		searchRequest.setQueryString(queryString);
		searchRequest.getFilterList().add(field + ":" + start + "*",
				Source.REQUEST);
		getFacetLimit(field, searchRequest, limit, list);
	} 
                            #location 11 
                            #vulnerability type THREAD_SAFETY_VIOLATION
#fixed code
                             public void getStartingWith(String queryString, Field field, String start,
			int limit, List<NamedItem> list) throws ParseException,
			IOException, SyntaxError, URISyntaxException,
			ClassNotFoundException, InterruptedException, SearchLibException,
			InstantiationException, IllegalAccessException {
		SearchRequest searchRequest = urlDbClient.getNewSearchRequest(field
				+ "Facet");
		searchRequest.setQueryString(queryString);
		searchRequest.getFilterList().add(field + ":" + start + "*",
				Source.REQUEST);
		getFacetLimit(field, searchRequest, limit, list);
	}