clone() modernization.

Apologies for the redundant cast warnings this is sure to introduce.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6015 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2010-01-13 18:19:48 +00:00
parent 3954ec5153
commit c4d132b232
4 changed files with 13 additions and 14 deletions
@@ -125,12 +125,12 @@ public class OccupantInfo extends SimpleStreamableObject
}
@Override
public Object clone ()
public OccupantInfo clone ()
{
try {
return super.clone();
return (OccupantInfo) super.clone();
} catch (CloneNotSupportedException cnse) {
throw new RuntimeException(cnse);
throw new AssertionError(cnse);
}
}
}