Bug 314685 EModelService's findElements(MUIElement, String, Class<T>, List<String>) method can return duplicates
I'm getting two editors in the returned list that's pointing at the same thing. The returned collection is a List and not a Set but this feels wrong.
tests/org.eclipse.e4.ui.tests/src/org/eclipse/e4/ui/tests/application/EModelServiceFindTest.java
}
	public void testFindElementsTagsOnly() {
		MApplication application = createApplication();
		EModelService modelService = (EModelService) application.getContext()
				.get(EModelService.class.getName());
		assertNotNull(modelService);
		List<String> tags = new ArrayList<String>();
		tags.add("oneValidTag");
		List<MUIElement> oneTags = modelService.findElements(application, null,
				null, tags);
		assertEquals(oneTags.size(), 1);
		tags.clear();
		tags.add("twoValidTags");
		List<MUIElement> twoTags = modelService.findElements(application, null,
				null, tags);
		assertEquals(twoTags.size(), 2);
		tags.clear();
		tags.add("invalidTag");
		List<MUIElement> invalidTags = modelService.findElements(application,
				null, null, tags);
		assertEquals(invalidTags.size(), 0);
		tags.clear();
		tags.add("twoValidTags");
		tags.add("secondTag");
		List<MUIElement> combinedTags = modelService.findElements(application,
				null, null, tags);
		assertEquals(combinedTags.size(), 1);
		tags.clear();
		tags.add("oneValidTag");
		tags.add("secondTag");