Some type safety, redundant cast removal, and other code hygiene.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4879 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2007-11-24 19:40:19 +00:00
parent 6eb2c79b19
commit 63db77667a
9 changed files with 22 additions and 34 deletions
@@ -97,8 +97,7 @@ public class OccupantDirector extends BasicDirector
public OccupantInfo getOccupantInfo (int bodyOid)
{
// make sure we're somewhere
return (_place == null) ? null :
(OccupantInfo)_place.occupantInfo.get(Integer.valueOf(bodyOid));
return (_place == null) ? null : _place.occupantInfo.get(Integer.valueOf(bodyOid));
}
/**