Bug 197475 [TrayDialog] Redundant check in isCompatibleLayout
Build ID: Build id: I20070621-1340 Inside TrayDialog#isCompatibleLayout(Layout layout) there is redundant check (grid.horizontalSpacing == 0). (line 237) Possible there should be (grid.verticalSpacing == 0). :)
bundles/org.eclipse.jface/src/org/eclipse/jface/dialogs/TrayDialog.java
private static boolean dialogHelpAvailable;
	/*
	 * The dialog's tray (null if none).
	 */
	private DialogTray tray;
	/*
	 * The tray's control.
	 */
	private Control trayControl;
	
	/*
	 * The separator to the left of the sash.
	 */
	private Label leftSeparator;
	
	/*
	 * The separator to the right of the sash.
	 */
	private Label rightSeparator;
	
	/*
	 * The sash that allows the user to resize the tray.
	 */
	private Sash sash;
	
	/*
	 * Whether or not help is available for this dialog.
	 */
	private boolean helpAvailable = isDialogHelpAvailable();