mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-27 09:58:45 +01:00
Fix NPE
This commit is contained in:
parent
0fe9949449
commit
03b0b041fc
1 changed files with 6 additions and 4 deletions
|
@ -326,6 +326,7 @@ public class DwnldDelegate extends ListDelegateBase {
|
|||
s_listeners.remove( url );
|
||||
}
|
||||
}
|
||||
if ( null != ld ) {
|
||||
String name = ld.m_name;
|
||||
if ( null == name ) {
|
||||
name = uri.toString();
|
||||
|
@ -333,6 +334,7 @@ public class DwnldDelegate extends ListDelegateBase {
|
|||
ld.m_lstnr.downloadFinished( name, success );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static void downloadDictInBack( Context context, int lang,
|
||||
String name,
|
||||
|
|
Loading…
Reference in a new issue