Fixed a bunch of type safety bits pointed out by the latest version of Eclipse.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5274 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -113,8 +113,8 @@ public class Name extends SimpleStreamableObject
|
||||
public boolean equals (Object other)
|
||||
{
|
||||
if (other != null) {
|
||||
Class c = getClass();
|
||||
Class oc = other.getClass();
|
||||
Class<?> c = getClass();
|
||||
Class<?> oc = other.getClass();
|
||||
// we have to be of the same derived class but we don't want to
|
||||
// wig out if the classes were loaded from different class loaders
|
||||
if (c == oc || c.getName().equals(oc.getName())) {
|
||||
|
||||
Reference in New Issue
Block a user