cleanup: Map.remove() does a get

This commit is contained in:
Eric House 2016-08-15 08:25:36 -07:00
parent 34b7f9de4d
commit bf93189313

View file

@ -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;