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:
@@ -139,7 +139,7 @@ public class ClientObject extends DObject
|
||||
* the <code>receivers</code> set. The set will not change until the
|
||||
* event is actually propagated through the system.
|
||||
*/
|
||||
public void removeFromReceivers (Comparable key)
|
||||
public void removeFromReceivers (Comparable<?> key)
|
||||
{
|
||||
requestEntryRemove(RECEIVERS, receivers, key);
|
||||
}
|
||||
@@ -167,8 +167,7 @@ public class ClientObject extends DObject
|
||||
public void setReceivers (DSet<InvocationReceiver.Registration> value)
|
||||
{
|
||||
requestAttributeChange(RECEIVERS, value, this.receivers);
|
||||
@SuppressWarnings("unchecked") DSet<InvocationReceiver.Registration> clone =
|
||||
(value == null) ? null : value.typedClone();
|
||||
DSet<InvocationReceiver.Registration> clone = (value == null) ? null : value.typedClone();
|
||||
this.receivers = clone;
|
||||
}
|
||||
// AUTO-GENERATED: METHODS END
|
||||
|
||||
Reference in New Issue
Block a user