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,11 +326,13 @@ public class DwnldDelegate extends ListDelegateBase {
|
|||
s_listeners.remove( url );
|
||||
}
|
||||
}
|
||||
String name = ld.m_name;
|
||||
if ( null == name ) {
|
||||
name = uri.toString();
|
||||
if ( null != ld ) {
|
||||
String name = ld.m_name;
|
||||
if ( null == name ) {
|
||||
name = uri.toString();
|
||||
}
|
||||
ld.m_lstnr.downloadFinished( name, success );
|
||||
}
|
||||
ld.m_lstnr.downloadFinished( name, success );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue