Bug 132763 [Markers] Unused NLS messages reported on startup using I0321-1210
Starting I20060321-1210, I got this in the console log. !ENTRY org.eclipse.osgi 2 1 2006-03-21 20:21:07.984 !MESSAGE NLS unused message: filtersDialog_selectAllTypes in: org.eclipse.ui.views.markers.internal.messages !ENTRY org.eclipse.osgi 2 1 2006-03-21 20:21:07.984 !MESSAGE NLS unused message: filtersDialog_deselectAllTypes in: org.eclipse.ui.views.markers.internal.messages
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/DialogMarkerFilter.java
List toRemove = ((IStructuredSelection) selection).toList();
			MarkerFilter[] newFilters = new MarkerFilter[filters.length
					- toRemove.size()];
			int index = 0;
			for (int i = 0; i < filters.length; i++) {
				if (toRemove.contains(filters[i])) {
					continue;
				}
				newFilters[index] = filters[i];
				index++;
			}
			filters = newFilters;
			filtersList.refresh();
			updateUIFromFilter();
		}
	}
	/**
	 * Create a new filter called newName.
	 * 
	 * @param newName
	 */
	private void createNewFilter(String newName) {
		MarkerFilter[] newFilters = new MarkerFilter[filters.length + 1];
		System.arraycopy(filters, 0, newFilters, 0, filters.length);
		MarkerFilter filter = newFilter(newName);
		newFilters[filters.length] = filter;
		filters = newFilters;
		filtersList.refresh();
		filtersList.setSelection(new StructuredSelection(filter), true);
		filtersList.getControl().setFocus();