Regenerated with new code that properly simplifies generic type arguments.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5251 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2008-07-22 13:48:37 +00:00
parent e1ca08dde8
commit 706b85a0e4
3 changed files with 10 additions and 10 deletions
@@ -206,10 +206,10 @@ public class PlaceObject extends DObject
* change. Proxied copies of this object (on clients) will apply the * change. Proxied copies of this object (on clients) will apply the
* value change when they received the attribute changed notification. * value change when they received the attribute changed notification.
*/ */
public void setOccupantInfo (DSet<com.threerings.crowd.data.OccupantInfo> value) public void setOccupantInfo (DSet<OccupantInfo> value)
{ {
requestAttributeChange(OCCUPANT_INFO, value, this.occupantInfo); requestAttributeChange(OCCUPANT_INFO, value, this.occupantInfo);
@SuppressWarnings("unchecked") DSet<com.threerings.crowd.data.OccupantInfo> clone = @SuppressWarnings("unchecked") DSet<OccupantInfo> clone =
(value == null) ? null : value.typedClone(); (value == null) ? null : value.typedClone();
this.occupantInfo = clone; this.occupantInfo = clone;
} }
@@ -80,7 +80,7 @@ public class ClientObject extends DObject
{ {
return checkAccess(perm, null); return checkAccess(perm, null);
} }
/** /**
* Convenience wrapper around {@link #checkAccess} that simply returns a boolean indicating * Convenience wrapper around {@link #checkAccess} that simply returns a boolean indicating
* whether or not this client has the permission rather than an explanation. * whether or not this client has the permission rather than an explanation.
@@ -89,7 +89,7 @@ public class ClientObject extends DObject
{ {
return checkAccess(perm, context) == null; return checkAccess(perm, context) == null;
} }
/** /**
* Convenience wrapper around {@link #checkAccess} that simply returns a boolean indicating * Convenience wrapper around {@link #checkAccess} that simply returns a boolean indicating
* whether or not this client has the permission rather than an explanation. * whether or not this client has the permission rather than an explanation.
@@ -164,10 +164,10 @@ public class ClientObject extends DObject
* change. Proxied copies of this object (on clients) will apply the * change. Proxied copies of this object (on clients) will apply the
* value change when they received the attribute changed notification. * value change when they received the attribute changed notification.
*/ */
public void setReceivers (DSet<com.threerings.presents.client.InvocationReceiver.Registration> value) public void setReceivers (DSet<InvocationReceiver.Registration> value)
{ {
requestAttributeChange(RECEIVERS, value, this.receivers); requestAttributeChange(RECEIVERS, value, this.receivers);
@SuppressWarnings("unchecked") DSet<com.threerings.presents.client.InvocationReceiver.Registration> clone = @SuppressWarnings("unchecked") DSet<InvocationReceiver.Registration> clone =
(value == null) ? null : value.typedClone(); (value == null) ? null : value.typedClone();
this.receivers = clone; this.receivers = clone;
} }
@@ -222,10 +222,10 @@ public class NodeObject extends DObject
* change. Proxied copies of this object (on clients) will apply the * change. Proxied copies of this object (on clients) will apply the
* value change when they received the attribute changed notification. * value change when they received the attribute changed notification.
*/ */
public void setClients (DSet<com.threerings.presents.peer.data.ClientInfo> value) public void setClients (DSet<ClientInfo> value)
{ {
requestAttributeChange(CLIENTS, value, this.clients); requestAttributeChange(CLIENTS, value, this.clients);
@SuppressWarnings("unchecked") DSet<com.threerings.presents.peer.data.ClientInfo> clone = @SuppressWarnings("unchecked") DSet<ClientInfo> clone =
(value == null) ? null : value.typedClone(); (value == null) ? null : value.typedClone();
this.clients = clone; this.clients = clone;
} }
@@ -270,10 +270,10 @@ public class NodeObject extends DObject
* change. Proxied copies of this object (on clients) will apply the * change. Proxied copies of this object (on clients) will apply the
* value change when they received the attribute changed notification. * value change when they received the attribute changed notification.
*/ */
public void setLocks (DSet<com.threerings.presents.peer.data.NodeObject.Lock> value) public void setLocks (DSet<NodeObject.Lock> value)
{ {
requestAttributeChange(LOCKS, value, this.locks); requestAttributeChange(LOCKS, value, this.locks);
@SuppressWarnings("unchecked") DSet<com.threerings.presents.peer.data.NodeObject.Lock> clone = @SuppressWarnings("unchecked") DSet<NodeObject.Lock> clone =
(value == null) ? null : value.typedClone(); (value == null) ? null : value.typedClone();
this.locks = clone; this.locks = clone;
} }