Bug 82417 Using uninitialized field instead of parameter in MethodStubsSelectionButtonGroup
The constructor of org.eclipse.jdt.internal.junit.wizards. MethodStubsSelectionButtonGroup contains this line: if (fButtonsStyle == SWT.RADIO) { Since fButtonsStyle is not initialized from the parameter buttonsStyle at that moment, what actually was meant is this: if (buttonsStyle == SWT.RADIO) { BTW: I found this bug using the FindBugs plugin. Seems to be really useful.
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/wizards/MethodStubsSelectionButtonGroup.java
private Label fLabel;
	protected String fLabelText;
	
	private SelectionButtonGroupListener fGroupListener;
	
	private boolean fEnabled;
	private Composite fButtonComposite;
	
	private Button[] fButtons;
	private String[] fButtonNames;
	private boolean[] fButtonsSelected;
	private boolean[] fButtonsEnabled;
	private Combo fMainCombo;
	private boolean fMainComboEnabled;
	
	private int fGroupBorderStyle;
	private int fGroupNumberOfColumns;
	private int fButtonsStyle;	
	private boolean fUseSuiteInMainForTextRunner= false;
	
	public interface SelectionButtonGroupListener {
		/**
		 * The dialog field has changed.
		 */