Bug 74614 Code formatter preference page: bogus preview code
3.1 M2: Code Formatter > White Space > Parameterized type > Parameterized type Preview: "Map<String, Element> map = new<String, Element> HashMap();" is wrong. BTW, in tree double "Parameterized type" is ugly, why not use something like "Type" on the second level.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/WhiteSpaceTabPage.java
return index;
	    }
	    
	    public Control getControl() {
	        return fComposite;
	    }
        public void selectionChanged(SelectionChangedEvent event) {
            final IStructuredSelection selection= (IStructuredSelection)event.getSelection();
            if (selection.isEmpty() || !(selection.getFirstElement() instanceof Node))
                return;
            final Node selected= (Node)selection.getFirstElement();
            if (selected == null || selected == fLastSelected) 
			    return;
            
            
            if (event.getSource() == fInnerViewer && selected instanceof InnerNode) {
                fLastSelected= (InnerNode)selected;
                fDialogSettings.put(PREF_INNER_INDEX, selected.index);
                innerViewerChanged((InnerNode)selected);
            }
            else if (event.getSource() == fOptionsViewer && selected instanceof OptionNode)
                fDialogSettings.put(PREF_OPTION_INDEX, selected.index);
        }
	
        private void innerViewerChanged(InnerNode selectedNode) {
            
			final List children= selectedNode.getChildren();
			
			final ArrayList optionsChildren= new ArrayList();
			for (final Iterator iter= children.iterator(); iter.hasNext();) {