apache/cordova-android — pull request #96 by hadeslee (2014-03-21 04:06:43+00:00)
Title: AlertDialog.Builder.create is redudant

because AlertDialog.Builder.show() will create an AlertDialog before it show.This is the source code snippet:

/**
* Creates a {@link AlertDialog} with the arguments supplied to this builder and
* {@link Dialog#show()}'s the dialog.
*/
public AlertDialog show() {
AlertDialog dialog = create();
dialog.show();
return dialog;
}