Nixed some now redundant casts.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5021 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2008-04-23 20:00:09 +00:00
parent 0fb090ea52
commit 249c4bb42d
4 changed files with 4 additions and 5 deletions
@@ -71,8 +71,7 @@ public class ConfigEditorPanel extends JPanel
// ship off a getConfigInfo request to find out what config // ship off a getConfigInfo request to find out what config
// objects are available for editing // objects are available for editing
AdminService service = (AdminService) AdminService service = _ctx.getClient().requireService(AdminService.class);
_ctx.getClient().requireService(AdminService.class);
service.getConfigInfo(_ctx.getClient(), this); service.getConfigInfo(_ctx.getClient(), this);
} }
@@ -51,7 +51,7 @@ public class ConfigObjectManager implements AdminService.ConfigInfoListener
} }
public void clientDidLogon (Client client) { public void clientDidLogon (Client client) {
_dobjmgr = _client.getDObjectManager(); _dobjmgr = _client.getDObjectManager();
_service = (AdminService)client.requireService(AdminService.class); _service = client.requireService(AdminService.class);
getConfigInfo(); getConfigInfo();
} }
public void clientDidLogoff (Client client) { public void clientDidLogoff (Client client) {
@@ -1042,7 +1042,7 @@ public class ChatDirector extends BasicDirector
protected void fetchServices (Client client) protected void fetchServices (Client client)
{ {
// get a handle on our chat service // get a handle on our chat service
_cservice = (ChatService)client.requireService(ChatService.class); _cservice = client.requireService(ChatService.class);
} }
/** /**
@@ -445,7 +445,7 @@ public class LocationDirector extends BasicDirector
protected void fetchServices (Client client) protected void fetchServices (Client client)
{ {
// obtain our service handle // obtain our service handle
_lservice = (LocationService)client.requireService(LocationService.class); _lservice = client.requireService(LocationService.class);
} }
protected void gotPlaceObject (PlaceObject object) protected void gotPlaceObject (PlaceObject object)