Removed code to disallow adding an observer more than once since the

observer list now takes care of that.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2064 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Walter Korman
2002-12-12 23:56:36 +00:00
parent 96888709ff
commit 90a919720a
3 changed files with 5 additions and 16 deletions
@@ -1,5 +1,5 @@
//
// $Id: Client.java,v 1.34 2002/10/31 18:44:34 mdb Exp $
// $Id: Client.java,v 1.35 2002/12/12 23:56:10 shaper Exp $
package com.threerings.presents.client;
@@ -78,10 +78,7 @@ public class Client
public void addClientObserver (SessionObserver observer)
{
synchronized (_observers) {
// disallow multiple instances of the same observer
if (!_observers.contains(observer)) {
_observers.add(observer);
}
_observers.add(observer);
}
}