mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-18 22:26:30 +01:00
cleanup: Map.remove() does a get
This commit is contained in:
parent
34b7f9de4d
commit
bf93189313
1 changed files with 1 additions and 4 deletions
|
@ -355,10 +355,7 @@ public class DwnldDelegate extends ListDelegateBase {
|
|||
if ( null != uri ) {
|
||||
ListenerData ld;
|
||||
synchronized( s_listeners ) {
|
||||
ld = s_listeners.get( uri );
|
||||
if ( null != ld ) {
|
||||
s_listeners.remove( uri );
|
||||
}
|
||||
ld = s_listeners.remove( uri );
|
||||
}
|
||||
if ( null != ld ) {
|
||||
String name = ld.m_name;
|
||||
|
|
Loading…
Reference in a new issue