Bug 764579 - Rename Show to show to be consistent with Java naming conventions. r=margaret

This commit is contained in:
Kartikaya Gupta 2012-06-14 09:52:28 -04:00
Родитель e01228d7c1
Коммит 73988494f5
2 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -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) {