Got a little too excited about using 1.5 features and some slipped into

Narya. I added directives to the compile line to prevent that from
happening again.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3247 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2004-11-27 17:34:55 +00:00
parent 49b320716e
commit 421ed5126e
3 changed files with 10 additions and 8 deletions
@@ -35,7 +35,7 @@ import com.threerings.presents.server.InvocationException;
public class GenServiceTask extends InvocationTask
{
/** Used to keep track of custom InvocationListener derivations. */
public class ServiceListener implements Comparable<ServiceListener>
public class ServiceListener implements Comparable
{
public Class listener;
@@ -57,9 +57,9 @@ public class GenServiceTask extends InvocationTask
methods.sort();
}
public int compareTo (ServiceListener other)
public int compareTo (Object other)
{
return getName().compareTo(other.getName());
return getName().compareTo(((ServiceListener)other).getName());
}
public boolean equals (Object other)