correct method name: getLocalizedListEntry()
This gets the data, it does not set it. And it matches the other getLocalized*() methods.
This commit is contained in:
parent
701d927e7a
commit
a0015cda32
@ -476,11 +476,11 @@ public class App extends ValueObject implements Comparable<App>, Parcelable {
|
|||||||
promoGraphic = getLocalizedGraphicsEntry(localized, localesToUse, "promoGraphic");
|
promoGraphic = getLocalizedGraphicsEntry(localized, localesToUse, "promoGraphic");
|
||||||
tvBanner = getLocalizedGraphicsEntry(localized, localesToUse, "tvBanner");
|
tvBanner = getLocalizedGraphicsEntry(localized, localesToUse, "tvBanner");
|
||||||
|
|
||||||
wearScreenshots = setLocalizedListEntry(localized, localesToUse, "wearScreenshots");
|
wearScreenshots = getLocalizedListEntry(localized, localesToUse, "wearScreenshots");
|
||||||
phoneScreenshots = setLocalizedListEntry(localized, localesToUse, "phoneScreenshots");
|
phoneScreenshots = getLocalizedListEntry(localized, localesToUse, "phoneScreenshots");
|
||||||
sevenInchScreenshots = setLocalizedListEntry(localized, localesToUse, "sevenInchScreenshots");
|
sevenInchScreenshots = getLocalizedListEntry(localized, localesToUse, "sevenInchScreenshots");
|
||||||
tenInchScreenshots = setLocalizedListEntry(localized, localesToUse, "tenInchScreenshots");
|
tenInchScreenshots = getLocalizedListEntry(localized, localesToUse, "tenInchScreenshots");
|
||||||
tvScreenshots = setLocalizedListEntry(localized, localesToUse, "tvScreenshots");
|
tvScreenshots = getLocalizedListEntry(localized, localesToUse, "tvScreenshots");
|
||||||
}
|
}
|
||||||
|
|
||||||
private String getLocalizedEntry(Map<String, Map<String, Object>> localized,
|
private String getLocalizedEntry(Map<String, Map<String, Object>> localized,
|
||||||
@ -518,7 +518,7 @@ public class App extends ValueObject implements Comparable<App>, Parcelable {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
private String[] setLocalizedListEntry(Map<String, Map<String, Object>> localized,
|
private String[] getLocalizedListEntry(Map<String, Map<String, Object>> localized,
|
||||||
Set<String> locales, String key) {
|
Set<String> locales, String key) {
|
||||||
try {
|
try {
|
||||||
for (String locale : locales) {
|
for (String locale : locales) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user