Community
Participate
Working Groups
DialogUtil#open(Dialog, DialogCallback) does not allow null as DialogCallback parameter. This seems to me a little harsh. There are a lot of cases where the dialog is only used as info box. In such cases there is no need for evaluation of the return value. The current implementation enforces to add an empty DialogCallback implementation just to be conform with the parameter check.
Removed the null-check for the DialogCallback argument and changed JavaDoc accordingly. Changes are in CVS HEAD.