You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# We check if parsed json contains the relevant keystore credentials fields and if these are set to the passed parameters
83
+
# We check if parsed json contains the relevant keystore credentials fields and if these are set to the passed parameters
84
84
# (note that "if" is lazy, so if one of the .contains() fails, the json fields contents will not be checked and no ResultDefect will be raised due to accessing unavailable fields)
85
85
if data.hasKeys(["application", "appIdentifier", "credentials", "version"]) and
86
-
data["application"].getStr() == appInfo.application and
87
-
data["appIdentifier"].getStr() == appInfo.appIdentifier and
86
+
data["application"].getStr() == appInfo.application and
87
+
data["appIdentifier"].getStr() == appInfo.appIdentifier and
88
88
data["version"].getStr() == appInfo.version:
89
89
# We return the first json keystore that matches the passed app parameters
90
90
# We assume a unique kesytore with such parameters is present in the file
# If exists, the destination file is renamed with extension .bkp; the file is written at its destination and the .bkp file is removed if write is successful, otherwise is restored
20
+
# Safely saves a Keystore's JsonNode to disk.
21
+
# If exists, the destination file is renamed with extension .bkp; the file is written at its destination and the .bkp file is removed if write is successful, otherwise is restored
0 commit comments