Typos a/an (#13812)

This commit is contained in:
Дилян Палаузов
2022-12-01 15:30:50 +02:00
committed by GitHub
parent 622654ff1d
commit 78534e8106
105 changed files with 144 additions and 143 deletions

View File

@@ -168,7 +168,7 @@ public class ShellyManagerOverviewPage extends ShellyManagerPage {
logger.debug("{}: No firmware files found for device type {}", LOG_PREFIX, deviceType);
} else {
// Create selection list
json = "{" + json.replace("[{", "\"versions\":[{") + "}"; // make it an named array
json = "{" + json.replace("[{", "\"versions\":[{") + "}"; // make it a named array
FwArchList list = getFirmwareArchiveList(deviceType);
ArrayList<FwArchEntry> versions = list.versions;
if (versions != null) {

View File

@@ -460,7 +460,7 @@ public class ShellyManagerPage {
list.versions = new ArrayList<FwArchEntry>();
} else {
// Create selection list
json = "{" + json.replace("[{", "\"versions\":[{") + "}"; // make it an named array
json = "{" + json.replace("[{", "\"versions\":[{") + "}"; // make it a named array
list = fromJson(gson, json, FwArchList.class);
}