use opt instead of get

If I'd done that before I could stop the current false-upgrade problem
server-side....
This commit is contained in:
Eric House 2022-05-13 22:06:16 -07:00
parent 78b5e280cd
commit 088caee4f2

View file

@ -1483,7 +1483,7 @@ public class DictsDelegate extends ListDelegateBase
if ( DictLangCache.haveDict( m_activity,
localLangName, name )){
boolean matches = true;
JSONArray sums = dict.getJSONArray("md5sums");
JSONArray sums = dict.optJSONArray("md5sums");
if ( null != sums ) {
matches = false;
String[] curSums = DictLangCache.getDictMD5Sums( m_activity, name );