minor code style update

This commit is contained in:
Tibor Kaputa 2023-06-27 11:37:34 +02:00 committed by GitHub
parent 0ead92bab0
commit 15169a6280
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -63,7 +63,6 @@ fun parseRawEmojiSpecsFile(context: Context, path: String): MutableList<String>
return emojis
}
fun parseRawJsonSpecsFile(context: Context, path: String): HashMap<String, String> {
if (cachedVNTelexData.isNotEmpty()) {
return cachedVNTelexData
@ -80,8 +79,7 @@ fun parseRawJsonSpecsFile(context: Context, path: String): HashMap<String, Strin
val value = rulesObj.getString(key)
cachedVNTelexData[key] = value
}
} catch (ex: Exception) {
ex.printStackTrace()
} catch (ignored: Exception) {
return HashMap()
}
return cachedVNTelexData