зеркало из https://github.com/mozilla/gecko-dev.git
Bug 764579 - Rename Show to show to be consistent with Java naming conventions. r=margaret
This commit is contained in:
Родитель
e01228d7c1
Коммит
73988494f5
|
@ -2463,7 +2463,7 @@ abstract public class GeckoApp
|
|||
}
|
||||
|
||||
public void run() {
|
||||
mPromptService.Show(mTitle, "", null, mItems, false);
|
||||
mPromptService.show(mTitle, "", null, mItems, false);
|
||||
}
|
||||
|
||||
private String mTitle;
|
||||
|
|
|
@ -196,7 +196,7 @@ public class PromptService implements OnClickListener, OnCancelListener, OnItemC
|
|||
return promptServiceResult;
|
||||
}
|
||||
|
||||
public void Show(String aTitle, String aText, PromptButton[] aButtons, PromptListItem[] aMenuList, boolean aMultipleSelection) {
|
||||
public void show(String aTitle, String aText, PromptButton[] aButtons, PromptListItem[] aMenuList, boolean aMultipleSelection) {
|
||||
AlertDialog.Builder builder = new AlertDialog.Builder(GeckoApp.mAppContext);
|
||||
if (!aTitle.equals("")) {
|
||||
builder.setTitle(aTitle);
|
||||
|
@ -382,7 +382,7 @@ public class PromptService implements OnClickListener, OnCancelListener, OnItemC
|
|||
try {
|
||||
multiple = geckoObject.getBoolean("multiple");
|
||||
} catch(Exception ex) { }
|
||||
this.Show(title, text, promptbuttons, menuitems, multiple);
|
||||
show(title, text, promptbuttons, menuitems, multiple);
|
||||
}
|
||||
|
||||
private String[] getStringArray(JSONObject aObject, String aName) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче