private static void configureListeners(final SelectionListener listener, final Grid grid) {

		if (listener != null) {
			grid.addSelectionListener(listener);
		}
	}
private static void configureListeners(final SelectionListener listener, final Grid grid) {

		if (listener != null) {
			grid.addSelectionListener(listener);
		}
	}
private static void configureListeners ( final SelectionListener listener , final Grid grid ) { if ( listener != null ) { grid . addSelectionListener ( listener ) ; } }
Configure listeners.

@param listener
the listener
@param grid
the grid
Configure listeners .