mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-06 20:45:54 +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 ) {
|
if ( null != uri ) {
|
||||||
ListenerData ld;
|
ListenerData ld;
|
||||||
synchronized( s_listeners ) {
|
synchronized( s_listeners ) {
|
||||||
ld = s_listeners.get( uri );
|
ld = s_listeners.remove( uri );
|
||||||
if ( null != ld ) {
|
|
||||||
s_listeners.remove( uri );
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
if ( null != ld ) {
|
if ( null != ld ) {
|
||||||
String name = ld.m_name;
|
String name = ld.m_name;
|
||||||
|
|
Loading…
Add table
Reference in a new issue