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:
@@ -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));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user