From 2b3b5411cc8d68bf8dbdec53b4d207ed491a684b Mon Sep 17 00:00:00 2001 From: Jamie Doornbos Date: Thu, 24 Jul 2008 04:55:10 +0000 Subject: [PATCH] Removed deprecated way of initializing the bureau registry client factory git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5260 542714f4-19e9-0310-aa3c-eee0fc999fb1 --- .../com/threerings/bureau/server/BureauRegistry.java | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/src/java/com/threerings/bureau/server/BureauRegistry.java b/src/java/com/threerings/bureau/server/BureauRegistry.java index e95e3c4d6..13d8ab02f 100644 --- a/src/java/com/threerings/bureau/server/BureauRegistry.java +++ b/src/java/com/threerings/bureau/server/BureauRegistry.java @@ -137,21 +137,11 @@ public class BureauRegistry // add the client factory, but later, after all the other modules have been initialized _omgr.postRunnable(new Runnable() { public void run () { - addClientFactory(_clmgr); + _clmgr.setClientFactory(new BureauClientFactory(_clmgr.getClientFactory())); } }); } - /** - * Install the bureau client factory in the manager, delegating to the current factory - * for non-bureau connections. - */ - @Deprecated public void addClientFactory (ClientManager clmgr) - { - clmgr.setClientFactory( - new BureauClientFactory(clmgr.getClientFactory())); - } - /** * Check the credentials to make sure this is one of our bureaus. * @return null if all's well, otherwise a string describing the authentication failure